C
CindyK
Anyone have an idea why I would be getting:
LNK2001 (unresolved external symbol) on ReadGlobalPwrPolicy()
I'm including "powrprof.h" from the XP SP2 platform SDK.
I'm also getting "powrprof.lib" from there.
I did a dumpbin on powrprof.lib and see that _ReadGlobalPwrPolicy is being
exported.
These are the 2 code lines I'm using:
GLOBAL_POWER_POLICY globalPowerPolicy;
ReadGlobalPwrPolicy(&globalPowerPolicy);
-CK
LNK2001 (unresolved external symbol) on ReadGlobalPwrPolicy()
I'm including "powrprof.h" from the XP SP2 platform SDK.
I'm also getting "powrprof.lib" from there.
I did a dumpbin on powrprof.lib and see that _ReadGlobalPwrPolicy is being
exported.
These are the 2 code lines I'm using:
GLOBAL_POWER_POLICY globalPowerPolicy;
ReadGlobalPwrPolicy(&globalPowerPolicy);
-CK