DevicePathType
if (DevicePathType(dp) == MEDIA_DEVICE_PATH &&
if (DevicePathType(dp) == HARDWARE_DEVICE_PATH &&
if (DevicePathType(dp) == MESSAGING_DEVICE_PATH &&
} else if (DevicePathType(dp) == MESSAGING_DEVICE_PATH&&
if (DevicePathType(dp) == dptype)
if (DevicePathType(dp) == ACPI_DEVICE_PATH &&
if (DevicePathType(dp) == dptype)
if (DevicePathType(dp) == dptype)
if (DevicePathType(dp) == dptype)
#define IsDevicePathType(a, t) ( DevicePathType(a) == t )