DevicePathType
switch (DevicePathType (&Vendor->Header)) {
if (DevicePathType (Node) == mUefiDevicePathLibToTextTableGeneric[Index].Type) {
UefiDevicePathLibCatPrint (Str, "Path(%d,%d", DevicePathType (Node), DevicePathSubType (Node));
if ((DevicePathType (DeviceNode) == mUefiDevicePathLibToTextTable[Index].Type) &&
if ((DevicePathType (Node) == mUefiDevicePathLibToTextTable[Index].Type) &&
if (DevicePathType(walker) == MEDIA_DEVICE_PATH &&
else if (DevicePathType(walker) == MEDIA_DEVICE_PATH &&
DevicePathType(walker) == END_DEVICE_PATH_TYPE)
while (DevicePathType(walker) != MEDIA_DEVICE_PATH &&
DevicePathType(walker) != END_DEVICE_PATH_TYPE) {
if (DevicePathType(walker) != MEDIA_DEVICE_PATH)
if ((DevicePathType (DevicePath) == MEDIA_DEVICE_PATH) &&
return (BOOLEAN)(DevicePathType (Node) == END_DEVICE_PATH_TYPE);
#define IsDevicePathType(a, t) ( DevicePathType(a) == t )
type = DevicePathType(devpath);
if (DevicePathType(devpath1) != DevicePathType(devpath2) ||
if (DevicePathType(prefix) != DevicePathType(path) ||
if (DevicePathType(path) == MEDIA_DEVICE_PATH)
if (DevicePathType(devpath) == MESSAGING_DEVICE_PATH &&
if (DevicePathType(devpath) == ACPI_DEVICE_PATH &&
if (DevicePathType(devpath) != MESSAGING_DEVICE_PATH ||
if (DevicePathType(imgpath) != MESSAGING_DEVICE_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 &&
(DevicePathType(img->FilePath) != MEDIA_DEVICE_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(path) == ACPI_DEVICE_PATH &&
} else if (DevicePathType(path) == MESSAGING_DEVICE_PATH &&
if (DevicePathType(dp) != MEDIA_DEVICE_PATH ||