NTSTATUS __stdcall PoRequestShutdownEvent(PVOID *Event){
NTSTATUS result;
if( Event )
*Event = 0i64;
result = PopRequestShutdownWait(KeGetCurrentThread());
if( result >= 0 )
{
if( Event )
*Event = &PopShutdownEvent;
return 0;
}
return result;
}