PspFreezeProcessWorker
NTSTATUS __stdcall PspFreezeProcessWorker(_EPROCESS *Process, VOID *Context){
_ESERVERSILO_GLOBALS *ServerSiloGlobals;
_EPROCESS *v4;
_ADAPTER_OBJECT *v5;
ServerSiloGlobals = PsGetServerSiloGlobals(0i64);
if( (Process->Flags3 & 0x1000) == 0
&& Process != *(_EPROCESS **)&PsIdleProcess
&& Process != ServerSiloGlobals->ExpDefaultErrorPortProcess
&& !(unsigned int)SmIsCompressionProcess(Process) )
{
v5 = (_ADAPTER_OBJECT *)PsCaptureExceptionPort(v4);
if( v5 )
HalPutDmaAdapter(v5);
if( (Process->Flags & 4) == 0 )
PsSuspendProcess(Process);
}
return 0;
}Referenced by:
No references.