Power Manager (Compact 2013)
3/26/2014
Power Manager is packaged as a dynamic link library, Pm.dll. The header file Pm.h contains Power Manager definitions such as power state flags, device class GUIDs, and power I/O control (IOCTL) definitions. You can view Pm.h at the following location:
%_WINCEROOT%\Public\Common\Sdk\Inc\Pm.h
Power Manager consists of two layers:
- Model Device Driver (MDD) layer
- Platform Dependent Driver (PDD) layer
You must modify the PDD layer to adapt Power Manager to your platform (as described in Implement System Power States), but you can also modify the MDD layer if necessary. Although Power Manager interfaces and activity timers are implemented in the MDD layer, you will find it useful to understand how they work so you can debug and test system power states in your PDD layer.