PnpQueryDeviceRelations

NTSTATUS __stdcall PnpQueryDeviceRelations(
        PDEVICE_OBJECT Device,
        DEVICE_RELATION_TYPE RelationType,
        PIO_COMPLETION_ROUTINE CompletionRoutine,
        PVOID Context){
  PVOID v8; 
  __int16 v10; 
  DEVICE_RELATION_TYPE v11; 
  memset((INT64)&v10, 0i64);
  v10 = 1819;
  v11 = RelationType;
  return PnpSendIrp(Device, (PIO_STACK_LOCATION)&v10, v8, CompletionRoutine, Context);
}

Referenced by:

PiDcHandleCustomDeviceEvent
PiQueryDeviceRelations
PiQueryPowerRelations
PipEnumerateDevice
PnpProcessRelation