Rebooting the Target Device (Windows CE 5.0)
You have the option of implementing IOCTL_HAL_REBOOT in OEMIoControl to reboot the target device.
For example, an application can display a dialog box to query the user to reboot the target device, and then call IOCTL_HAL_REBOOT to perform the reboot.
See Also
How to Develop an OEM Adaptation Layer | Implementing the OEMIoControl Function
Send Feedback on this topic to the authors