PipEventRemovalCheckOpenHandles
NTSTATUS __stdcall PipEventRemovalCheckOpenHandles(
_DEVICE_OBJECT **DeviceObjects,
UINT64 Count,
_DEVICE_OBJECT **VetoingDevice){
int v4;
unsigned int v5;
NTSTATUS v7;
_LARGE_INTEGER Interval;
v4 = 0;
Interval.QuadPart = -1000000i64;
v5 = Count;
v7 = -2147483631;
while( 1 )
{
if( v4 )
KeDelayExecutionThread(0, 0, &Interval);
if( !(unsigned int)PnpIsChainDereferenced(DeviceObjects, v5, 1i64, 0i64, (__int64 *)VetoingDevice) )
break;
if( (unsigned int)++v4 >= 0x32 )
return v7;
}
return 0;
}Referenced by:
PipSendQueryRemoveIrpAndCheckOpenHandles