Sorry, I should have been more clear: WP7 used CE internally, so the WM6.5 APIs worked on it. WP8 uses NT instead of CE, but has some of the embedded database APIs anyhow (because the code was imported straight from WP7, maybe?) so it might still work. You'd need to find the library with the relevant exports, though; that part of the documentation will be wrong for WP8.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.