I've seen a lot of code regarding the IOCTL and I tried using some code that shows how to cold boot a Windows Mobile device by setting SetCleanRebootFlag()
and int IOCTL_HAL_REBOOT = 0x101003C;
but it doesn't reset the boot count under HKLM\Comm\BootCount and that's the quick way for me to check cold boot (should be reset to '0'). Can someone show me code for a 'cold boot'? I'm referencing code I've used from here: Reboot Windows Mobile 6.x device programmatically using C#
Regards, Scott