DevicePathType
#define IsDevicePathType(a, t) (DevicePathType(a) == t)
if (DevicePathType(devpath1) != DevicePathType(devpath2) ||
if (DevicePathType(prefix) != DevicePathType(path) ||
if (DevicePathType(node) != MESSAGING_DEVICE_PATH ||
if (DevicePathType(node) == MESSAGING_DEVICE_PATH &&
if (DevicePathType(node) == MESSAGING_DEVICE_PATH &&
DevicePathType(node) == MESSAGING_DEVICE_PATH) {
if (DevicePathType(node) == ACPI_DEVICE_PATH &&
if (DevicePathType(node) == MEDIA_DEVICE_PATH &&
if (DevicePathType(node) == MEDIA_DEVICE_PATH &&
if (DevicePathType(dp) == ACPI_DEVICE_PATH) {
(DevicePathType(boot_img->FilePath) != MEDIA_DEVICE_PATH ||
if (DevicePathType(node) != MEDIA_DEVICE_PATH ||
if (DevicePathType(path) == ACPI_DEVICE_PATH &&
} else if (DevicePathType(path) ==
if (DevicePathType(node) == ACPI_DEVICE_PATH &&
} else if (DevicePathType(node) == MESSAGING_DEVICE_PATH &&
} else if (DevicePathType(node) == ACPI_DEVICE_PATH &&
} else if (DevicePathType(node) == HARDWARE_DEVICE_PATH &&
if (DevicePathType(devpath) == ACPI_DEVICE_PATH &&