sqlite3_api not defined (Sqlite3 integration problem in wp8-xaml)

I am using cocos2dx-2.2.2. I am using sqlite3.h and sqlite3.c files. They are working fine on iOS and android. I have a database.sqlite file
But in case of windows when I write the sqlite3_open function, It simply throws an error that sqlite3_api not defined etc,
Similarly the sqlite3_close function has the similar error.
I have searched a lot but couldn’t find any proper tutorial on how to use sqlite in windows
These are some of the links but really are not helpful for me
http://www.cocos2d-x.org/forums/6/topics/422019
–This links only tell in android or ios. Not clear in windows


etc.

I think some step is missing. I added the sqlite3.h and .c with sqlite3 extension.h in my project.
Can anyone help me regarding the complete step by step integration of sqlite in wp8 xaml project in cocos2d-x. I will be thankful.

There have been some recent topics about SQLite and Windows 8. You may have to use the precompiled binaries for Windows 8: http://www.sqlite.org/download.html

Do a search, some of these have come up within this month.