User Mode Driver Framework (Compact 2013)
The User Mode Driver Framework allows an intermediate driver to load into user mode. The User Mode Driver will not be able to access hardware directly. For some drivers, this method of interaction will increase system stability and security.
The User Mode Driver Framework is divided into two physical components:
- The User Mode Driver Reflector, which resides inside the device manager.
- The User Mode Driver Host, which is a user mode application that is launched and managed by the User Mode Driver Reflector.
To run a driver in the User Mode Driver Framework, set the FLAGS value to DEVFLAGS_LOAD_AS_USERPROC (0x10) in the registry key of the device.
Windows Embedded Compact 2013 runs drivers in kernel mode by default.
For reference information, see User Mode Driver Framework Reference.
Sample application code is available at %_WINCEROOT%\public\COMMON\oak\drivers\sdcard\SDClientDrivers\GPS.