2 Dec 2006 19:35
Re: Defs for GetSystemPowerStatusEx2
One more patch. This implements the definitions for the less capable GetSystemPowerStatusEx command. Definitions are from: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceshellui5/html/wce50lrfGetSystemPowerStatusEx.asp and: http://msdn.microsoft.com/library/en-us/wceshellui5/html/wce50lrfsystempowerstatusex.asp -Kevin 2006-12-02 Kevin O'Connor <kevin@...> * include/winbase.h: Add SYSTEM_POWER_STATUS_EX structure. Add GetSystemPowerStatusEx function definition. Index: src/w32api/include/winbase.h =================================================================== --- src/w32api/include/winbase.h (revision 835) +++ src/w32api/include/winbase.h (working copy) <at> <at> -993,6 +993,20 <at> <at> BYTE bCertificate[1]; } WIN_CERTIFICATE, *LPWIN_CERTIFICATE; #ifdef _WIN32_WCE +typedef struct _SYSTEM_POWER_STATUS_EX { + BYTE ACLineStatus; + BYTE BatteryFlag; + BYTE BatteryLifePercent;(Continue reading)
RSS Feed