PnpQueryDeviceRelations
__int64 __fastcall PnpQueryDeviceRelations(
_DEVICE_OBJECT *DeviceObject,
int a2,
int (__fastcall *a3)(_DEVICE_OBJECT *, _IRP *, void *),
UINT64 *a4){
__int64 v8;
_IO_STACK_LOCATION TopStackLocation;
memset(&TopStackLocation, 0i64, sizeof(TopStackLocation));
*(_WORD *)&TopStackLocation.MajorFunction = 1819;
LODWORD(TopStackLocation.Parameters.SecurityContext) = a2;
return PnpSendIrp(DeviceObject, &TopStackLocation, v8, a3, a4);
}Referenced by:
PiDcHandleCustomDeviceEvent
PiQueryDeviceRelations
PiQueryPowerRelations
PipEnumerateDevice
PnpProcessRelation