IopQueryReconfiguration
NTSTATUS __stdcall IopQueryReconfiguration(UINT8 Request, PDEVICE_OBJECT DeviceObject){
_DWORD *DeviceNode;
bool v6;
_IO_STACK_LOCATION TopStackLocation;
DeviceNode = DeviceObject->DeviceObjectExtension->DeviceNode;
if( Request == 4 )
{
v6 = DeviceNode[75] == 777;
}
else
{
if( Request != 5 )
{
if( Request == 6 && (unsigned int)(DeviceNode[75] - 776) <= 1 )
goto LABEL_5;
return -1073741823;
}
v6 = DeviceNode[75] == 776;
}
if( v6 )
{
LABEL_5:
memset(&TopStackLocation, 0i64, sizeof(TopStackLocation));
TopStackLocation.MajorFunction = 27;
TopStackLocation.MinorFunction = Request;
return IopSynchronousCall(DeviceObject, &TopStackLocation, 3221225659i64, 0i64, 0i64);
}
return -1073741823;
}Referenced by:
PnpCancelStopDeviceNode
PnpQueryStopDeviceNode
PnpStopDeviceSubtree