So far, I have made my batter driver, but I still cann't use
"GetSystemPowerStatusEx" function in my application created by eMbedded
Visual C++ 4.0 or Windows CE 5.0. But the compile error was different. In
eVC, the error was as follows( I have include "Winbase.h" ):
D:\My Designs\TestBattery\HelloCE.cpp(182) : error C2065:
'GetSystemPowerStatusEx2' : undeclared identifier
But in Window CE 5.0 the error was:
BUILD: [01:0000000021:ERRORE]
d:\WINCE500\PBWorkspaces\sdk7a404\TestBatteryDriver\HelloCE.cpp(233) : error
C3861: 'BatteryAPIGetSystemPowerStatusEx': identifier not found, even with
argument-dependent lookup
I have tested my battery driver and it worked fine. May be I haven't
tell the system I have made the batter drver. So, can someone tell me how to
make "GetSystemPowerStatusEx" available? Thanks.