I would like to know how to hard reset a wm 5.0 device with code.
I know how to hard reset ppc 2003 , but the same code in wm 5.0 soft reset
the device insted of hard reset it.
Thanks
Shaul
Cheers
Daniel
--
http://www.danielmoth.com/Blog/
"SHaul" <sh...@ipocket.gilsar.com> wrote in message
news:%235mnlIG...@TK2MSFTNGP12.phx.gbl...
int IOCTL_HAL_REBOOT = 0x101003C;
int bytesReturned = 0;
SetCleanRebootFlag();
KernelIoControl(IOCTL_HAL_REBOOT, IntPtr.Zero, 0, IntPtr.Zero, 0, ref
bytesReturned );
[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 HardResetHandler()
worsk on 2003.
"Daniel Moth" <dmo...@hotmail.com> wrote in message
news:uo0SMYGE...@tk2msftngp13.phx.gbl...
Anyone knows how to hard reset wm 5 with code?
Many Thanks
Shaul
"Daniel Moth" <dmo...@hotmail.com> wrote in message
news:uo0SMYGE...@tk2msftngp13.phx.gbl...
--
-Robert Levy
Program Manager, Windows Mobile Developer Experience
http://blogs.msdn.com/windowsmobile
"SHaul" <sh...@ipocket.gilsar.com> wrote in message
news:O5JhEGIE...@TK2MSFTNGP14.phx.gbl...
We will wait for future releases...
Shaul
"Robert Levy [MS]" <rl...@online.microsoft.com> wrote in message
news:uG5xJNKE...@TK2MSFTNGP14.phx.gbl...
Jon
--
-Robert Levy
Program Manager, Windows Mobile Developer Experience
http://blogs.msdn.com/windowsmobile
<j...@nettsoft.no> wrote in message
news:1136500098.6...@o13g2000cwo.googlegroups.com...