// If we are signaled by registry event
if (WAIT_OBJECT_0 == dwResult)
{
//。。。 }
else if (dwResult == WAIT_OBJECT_0+1)
{
// User activity, depending on the situation, we may / may not update
// the tick count
//DEBUGMSG(1, (TEXT("2...WAIT_OBJECT_0+1!\r\n")));
if (IsACOn())
{
if (g_BLInfo.m_bACAuto)
{
// Turn on backlight
BL_On(TRUE);
}
}
else
{
if (g_BLInfo.m_bBatteryAuto)
{
BL_On(TRUE);
}
}
}