Lock Button during power off

  • Thread starter Thread starter Mongolfier
  • Start date Start date
M

Mongolfier

Hi all,

I need to lock hardware buttons except for power on/off when the PDA is
powered off.
In the PDA settings already exist this functionality, so I think it's
possible to do it even through some C# code.

Can someone give me an advice about which C# function shuld I use ?

Thanks in advance
Valerio
 
That's going to be device-specific. There is no API to achieve that. You
might, for each device that you want to support, capture the registry before
and after turning on that option to see if it's stored in the registry
(which it probably is). If it is, then you can set it in your code,
possibly send a system-wide message to indicate that the setting changed,
and then, the next time the device suspends, it will do what you want.

Paul T.
 
Hi Paul,

I already did the test that you have suggested, unfortunately the
registry has the same values first and after the setting change.
The PDA, that I'm using is i-mate PDA2k 9090.
Probably, has you said it use a custom factory function.
It would be nice, to know if some available api or docs would be
available on the i-mate web site.

Thanks,

Valerio


Paul G. Tobey [eMVP] ha scritto:
 
Back
Top