This is a discussion on How to Soft Reset Windows Mobile 5.0 ? within the Windows Mobile forums, part of the Mobile Software Development category; How to Soft Reset Windows Mobile 5.0 ? DllImport("Coredll.dll")] extern static int KernelIoControl(int dwIoControlCode, IntPtr ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| How to Soft Reset Windows Mobile 5.0 ? DllImport("Coredll.dll")] extern static int KernelIoControl(int dwIoControlCode, IntPtr lpInBuf, int nInBufSize, IntPtr lpOutBuf, int nOutBufSize, ref int lpBytesReturned); [DllImport("Coredll.dll")] extern static void SetCleanRebootFlag(); public static void ResetDevice(bool l_Is_HardReset) { int IOCTL_HAL_REBOOT = 0x101003C; int bytesReturned = 0; if (l_Is_HardReset == true) { SetCleanRebootFlag(); } KernelIoControl(IOCTL_HAL_REBOOT, IntPtr.Zero, 0, IntPtr.Zero, 0, ref bytesReturned); } |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Mobile - Interview FAQ | prasannavigneshr | Interview Questions & Answers and Tips | 15 | 01-24-2008 04:48 AM |
| Windows Mobile Tweaks | prasannavigneshr | Windows Mobile | 162 | 11-15-2007 09:56 PM |
| Win32 sockets in Windows mobile 5.0 | mobilegeek | Windows Mobile | 2 | 10-29-2007 05:27 AM |
| How to fix the appointments in windows mobile using C#? | mobilegeek | C# Programming | 3 | 08-20-2007 07:37 AM |
| New T-Mobile phone runs Windows Mobile 6 | vadivelanvaidyanathan | The Lounge | 0 | 05-22-2007 08:19 AM |