PopEventCalloutDispatch
VOID __stdcall PopEventCalloutDispatch(PSPOWEREVENTTYPE EventNumber, UINT64 Code){
INT64 v2;
UINT64 *v3;
int v4;
int v5[2];
UINT64 v6;
v5[1] = 0;
v5[0] = EventNumber;
v6 = Code;
if( PsWin32CalloutsEstablished )
{
v2 = 1i64;
if( EventNumber == PsW32EventCode )
{
v4 = 0;
v3 = (UINT64 *)&v4;
}
else
{
v3 = 0i64;
if( EventNumber == PsW32DisplayBurst )
v2 = 0i64;
else
v2 = 2i64;
}
PopInvokeWin32Callout(3i64, v5, v2, v3);
if( KeGetCurrentThread()->WaitBlock[3].SpareLong )
__fastfail(0x20u);
}
}Referenced by:
NtPowerInformation
PopDispatchCallout
PopDispatchFullWake
PopDispatchShutdownEvent
PopPolicyTimeChange