PipIsDeviceReadyForPowerRelations

UINT8 __stdcall PipIsDeviceReadyForPowerRelations(DEVICE_OBJECT *DeviceObject){
  __int64 v1; 
  UINT8 result; 
  result = 0;
  if( DeviceObject )
  {
    v1 = *(_QWORD *)(*((_QWORD *)DeviceObject + 39) + 40i64);
    if( v1 )
    {
      if( *(_DWORD *)(v1 + 300) != 769 )
        return 1;
    }
  }
  return result;
}

Referenced by:

PipCheckIfAllProvidersHaveDevnodes
PipProcessRebuildPowerRelationsQueue