/* A platform can also define platform specific Class values as a properly generated EFI_GUID would never conflict with this specification. */
EFI_STATUS EFIAPI BootManagerPolicyConnectDeviceClass(IN EFI_BOOT_MANAGER_POLICY_PROTOCOL *This, IN EFI_GUID *Class)
/* A platform can also define platform specific Class values as a properly generated EFI_GUID would never conflict with this specification. */
EFI_STATUS EFIAPI BootManagerPolicyConnectDeviceClass(IN EFI_BOOT_MANAGER_POLICY_PROTOCOL *This, IN EFI_GUID *Class)
{
  if (EfiGetCurrentTpl () != TPL_APPLICATION) {
    return EFI_UNSUPPORTED;
  }
  if (CompareGuid (Class, &gEfiBootManagerPolicyConnectAllGuid)) {
    ConnectAllAndCreateNetworkDeviceList ();
    return EFI_SUCCESS;
  }
  if (CompareGuid (Class, &gEfiBootManagerPolicyConsoleGuid)) {
    return EfiBootManagerConnectAllDefaultConsoles ();
  }
  if (CompareGuid (Class, &gEfiBootManagerPolicyNetworkGuid)) {
    return ConnectNetwork ();
  }
  return EFI_NOT_FOUND;
}