PiSwFindChildren

_LIST_ENTRY *__stdcall PiSwFindChildren(_UNICODE_STRING *DeviceInstancePath){
  _LIST_ENTRY *BusRelations; 
  _LIST_ENTRY *result; 

  BusRelations = (_LIST_ENTRY *)PiSwFindBusRelations((__int64)DeviceInstancePath);
  result = 0i64;
  if( BusRelations )
    return BusRelations + 1;
  return result;
}

Referenced by:

PiSwProcessParentStartIrp
PiSwStopDestroy
PipEnumerateCompleted