A question came up on our forums and so I investigated writing a wrapper for the GetSystemPowerState API function. This allows you to retrieve the power state name, and also a bitmask of flags - Is the backlight on, is the device password protected etc...(
read more)
Read the complete post at http://feeds.feedburner.com/~r/PeterFoot/~3/253238588/how-to-get-system-power-state-name-and-flags.aspx
Posted
Feb 23 2008, 11:29 AM
by
Peter Foot