PnpCheckForActiveDependencies

UINT8 __fastcall PnpCheckForActiveDependencies(_DEVICE_NODE *DeviceNode, UINT64 DependencyTypes){
  unsigned int v2; 
  UINT8 v5; 

  v2 = DependencyTypes;
  if( PipIsDevNodeDNStarted((__int64)DeviceNode) )
    return 0;
  PnpAcquireDependencyRelationsLock(0);
  v5 = PipCheckForUnsatisfiedDependencies(DeviceNode, v2);
  ExReleaseResourceLite((PERESOURCE)((char *)&stru_140C452E0 + 384));
  PpDevNodeUnlockTree(PPL_SIMPLE_READ);
  return v5;
}

Referenced by:

PiProcessQueryDeviceState
PipProcessDevNodeTree