PnpCheckForActiveDependencies

char __fastcall PnpCheckForActiveDependencies(__int64 a1, unsigned __int8 a2){
  char v5; 
  if( (unsigned int)PipIsDevNodeDNStarted((_DEVICE_NODE *)a1) )
    return 0;
  PnpAcquireDependencyRelationsLock(0);
  v5 = PipCheckForUnsatisfiedDependencies(a1, a2);
  ExReleaseResourceLite(&PiDependencyRelationsLock);
  PpDevNodeUnlockTree(0);
  return v5;
}

Referenced by:

PiProcessQueryDeviceState
PipProcessDevNodeTree