7,660
社区成员




BOOL NotifyChange()
{
//Gets the handle to the power manager reload activity timeout event
HANDLE hevReloadActivityTimeouts=OpenEvent(EVENT_ALL_ACCESS, FALSE, _T("PowerManager/ReloadActivityTimeouts"));
//If we got valid one then invoke the event
if (hevReloadActivityTimeouts) {
SetEvent(hevReloadActivityTimeouts); //Set the state of the event to Signal
CloseHandle(hevReloadActivityTimeouts); //close the handle of the event
return TRUE;
}
return FALSE;
}