PipIsDeviceReadyForPowerRelations

UINT8 __stdcall PipIsDeviceReadyForPowerRelations(_DEVICE_OBJECT *DeviceObject){
  _DWORD *DeviceNode; 
  UINT8 result; 

  result = 0;
  if( DeviceObject )
  {
    DeviceNode = DeviceObject->DeviceObjectExtension->DeviceNode;
    if( DeviceNode )
    {
      if( DeviceNode[75] != 769 )
        return 1;
    }
  }
  return result;
}

Referenced by:

PipCheckIfAllProvidersHaveDevnodes
PipProcessRebuildPowerRelationsQueue