I added a new FAQ item on how to programmatically reboot a Pocket PC device on http://www.cjcraft.com/.
using System.Runtime.InteropServices;
[DllImport("CoreDll.dll", SetLastError=true, CharSet=CharSet.Auto)]internal static extern bool KernelIoControl(int dwIoControlCode,IntPtr lpInBuf, int nInBufSize, IntPtr lpOutBuf, int nOutBufSize, IntPtrlpBytesReturned); public bool DeviceReset(){return KernelIoControl(16842812,IntPtr.Zero,0,IntPtr.Zero,0,IntPtr.Zero);}
Theme design by Jelle Druyts
Pick a theme: BlogXP BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves The Right Stuff 2.0 Tricoleur useit.com Voidclass2 BlogXP BlogXP business calmBlue Candid Blue dasBlog dasblogger DirectionalRedux Discreet Blog Blue Elegante essence Just Html MadsSimple Mobile Mono Movable Radio Blue Movable Radio Heat nautica022 orangeCream Portal Project84 Project84Grass Slate Sound Waves The Right Stuff 2.0 Tricoleur useit.com Voidclass2
Powered by: newtelligence dasBlog 2.0.7226.0
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, Chris Craft
E-mail