Thanks for your answers.
Shame on me not thinking of the use of EvtEnqueueKey() :-)
The easy things are mostly the ones, I do not think of.
Regards,
Maik Boenig
[EMAIL PROTECTED]
[EMAIL PROTECTED]
>HwrSleep and SysSleep are system-use-only functions and should NOT be called
>directly by your application. Doing so may cause unpredictable behavior with
>licensee devices, requiring a soft reset to cure.
>The correct method of requesting a device enter sleep mode is as follows:
> EvtEnqueueKey(hardPowerChr, 0, commandKeyMask);
>Regards,
>Jim Schram
>3Com/Palm Computing
>Partner Engineering