This project is read-only.

Project Description

WP8 Native Access is a project to create general-purpose Windows Phone 8 application components, written in C++, that can access the Win32 APIs and can be used with .NET applications.

Currently, the project supports access to file system APIs, and registry APIs, and some process APIs. Process / thread / environment support is growing rapidly. Because this project does not contain any way to elevate permissions, access to much of the system (for example, write access to the registry) will currently fail with ERROR_ACCESS_DENIED.

These functions are written in C++ and call the Win32 APIs directly. They operate synchronously and should not throw exceptions. Each API includes a return value which indicates an error state. To call the functions asynchronously, they should be wrapped in asynchronous functions or called using asynchronous invocation.

Building these libraries will require linking against native Windows Phone libraries that are not part of the standard SDK. The needed libraries can be extracted from the phone (see the related project) and then converted into .LIB files for the linker. Additionally, the standard Win8 header files should be used (via additional include path or via copying the needed ones to the WP8 include path) when an unavailable header is requested.

Last edited Aug 27, 2013 at 12:01 PM by GoodDayToDie, version 5