detect dock event

  • Thread starter Thread starter Bruce Bakely
  • Start date Start date
B

Bruce Bakely

I need to detect when the PPC 2003 handheld has been docked. I'm currently
calling GetSystemPowerStatusEx every second and reacting when it goes from
DC to AC, but there must be a better way. Is RequestPowerNotifications the
way to go? Does anyone have C# sample code?
 
Back
Top