OEM Power Off State (Windows CE 5.0)
If you have created a device that does not contain GWES or Power Manager, you will have to manage the suspend processes. You must make the following calls:
- FileSystemPowerFunction(FSNOTIFY_POWER_OFF) to power off file system drivers.
- PowerOffSystem.
You should then call Sleep(0) to allow the kernel's scheduler to run and perform the final suspend process.
See Also
Kernel States | Debugging and Testing
Send Feedback on this topic to the authors