Hi, All
I am using CF 2.0 and Texlogix Psion OS Mobile 6.0
I need to perform reset on the handheld.
Any references to how to accomplish this task.
Thank you,

Re: How to reset handheld programmatically? by Arijull

Arijull
Wed Apr 30 15:44:07 CDT 2008

If you want to perform a soft reset, this is the code (in C#)

[DllImport("coredll")]
private static extern bool KernelIoControl(
int dwIoControlCode,
IntPtr lpInBuf,
int nInBufSize,
IntPtr lpOutBuf,
int nOutBufSize,
IntPtr lpBytesReturned);

public static void ExecuteSoftReset()
{
KernelIoControl(16842812, IntPtr.Zero, 0, IntPtr.Zero, 0,
IntPtr.Zero);
}

Hope it helps.

RE: How to reset handheld programmatically? by srhartone

srhartone
Wed Apr 30 16:04:01 CDT 2008

The PowerManagement.SoftReset() should do the trick - implemented by the
OpenNETCF SDF library.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"elena" wrote:

> Hi, All
> I am using CF 2.0 and Texlogix Psion OS Mobile 6.0
> I need to perform reset on the handheld.
> Any references to how to accomplish this task.
> Thank you,