/* returns TRUE for success and FALSE for failure */
BOOL GetPowerButtonAction(POWER_ACTION* acAction, POWER_ACTION* dcAction)
{
GLOBAL_POWER_POLICY gpolicy;

if(ReadGlobalPwrPolicy(&gpolicy)...