PipAddDependentsToRebuildPowerRelationsQueue

VOID __stdcall PipAddDependentsToRebuildPowerRelationsQueue(_DEVICE_OBJECT *Provider){
  _LIST_ENTRY *DependentList; 
  _LIST_ENTRY *Flink; 
  _DEVICE_OBJECT *Dependent; 

  Dependent = 0i64;
  DependentList = PiGetDependentList(Provider);
  Flink = DependentList->Flink;
  while( Flink != DependentList )
  {
    PiEnumerateDependentListEntry(Flink, &Dependent, 0i64);
    Flink = Flink->Flink;
    if( Dependent )
      PipAddtoRebuildPowerRelationsQueue(Dependent);
  }
}

Referenced by:

IoDuplicateDependency
IoResolveDependency
PnpDeleteAllDependencyRelations