IopQueryDeviceState
NTSTATUS __stdcall IopQueryDeviceState(DEVICE_OBJECT *DeviceObject, UINT64 *DeviceState){
NTSTATUS result;
__int16 v5[44];
UINT64 Information;
Information = 0i64;
memset((INT64)v5, 0i64);
v5[0] = 5147;
result = IopSynchronousCall(DeviceObject, (IO_STACK_LOCATION *)v5, 3221225659i64, 0i64, &Information);
if( result >= 0 )
{
if( DeviceState )
*(_DWORD *)DeviceState = Information;
}
return result;
}Referenced by:
PiProcessCanceledRemoveForReset
PiProcessQueryDeviceState
PiRestartRemovalRelations