// Get the Usb part first Begin node in full device path\r
//\r
UsbDevicePathBeginPtr = DevicePath;\r
- while ( (!EfiIsDevicePathEnd (UsbDevicePathBeginPtr))&&\r
+ while ( (!IsDevicePathEnd (UsbDevicePathBeginPtr))&&\r
((UsbDevicePathBeginPtr->Type != MESSAGING_DEVICE_PATH) ||\r
(UsbDevicePathBeginPtr->SubType != MSG_USB_DP &&\r
UsbDevicePathBeginPtr->SubType != MSG_USB_CLASS_DP\r
// Get the Usb part first End node in full device path\r
//\r
UsbDevicePathEndPtr = UsbDevicePathBeginPtr;\r
- while ((!EfiIsDevicePathEnd (UsbDevicePathEndPtr))&&\r
+ while ((!IsDevicePathEnd (UsbDevicePathEndPtr))&&\r
(UsbDevicePathEndPtr->Type == MESSAGING_DEVICE_PATH) &&\r
(UsbDevicePathEndPtr->SubType == MSG_USB_DP ||\r
UsbDevicePathEndPtr->SubType == MSG_USB_CLASS_DP\r