I would like to catch the power button flagged as VK_TPOWER in the documentation how is it possible ?
A:
The power manager is the only interface I can think of :
But I am not so sure that it will let you do anything you want with the power button, it is probably strictly limited in what you can do with it :
Here's a link that could help
SAKIROGLU Koray
2009-07-24 08:29:51
+1
A:
If you can use C# have a look at the OpenNetCF. There is the OpenNETCF.WindowsCE.PowerManagement.PowerDown event that you can use.
I also recommend to read this article in order to understand how power management works.
kgiannakakis
2009-07-24 09:02:32