PnpNewDeviceNodeDependencyCheck

void __fastcall PnpNewDeviceNodeDependencyCheck(_DEVICE_NODE *DeviceNode){
  HPNPOPCTX *hPnpOpCtx; 

  hPnpOpCtx = 0i64;
  PnpAcquireDependencyRelationsLock(1);
  PipAddtoRebuildPowerRelationsQueue(DeviceNode->PhysicalDeviceObject);
  PnpReleaseDependencyRelationsLock();
  PipProcessRebuildPowerRelationsQueue();
  PiPnpRtlBeginOperation(&hPnpOpCtx);
  PipNotifyDeviceDependencyList(DeviceNode, ProviderList);
  PipNotifyDeviceDependencyList(DeviceNode, DependentList);
  if( hPnpOpCtx )
    PiPnpRtlEndOperation(hPnpOpCtx);
}

Referenced by:

PiProcessNewDeviceNode