return FALSE;\r
}\r
}\r
+\r
+ //\r
+ // FilePath must be a NULL-terminated string.\r
+ //\r
+ if (DevicePathType (DevicePath) == MEDIA_DEVICE_PATH &&\r
+ DevicePathSubType (DevicePath) == MEDIA_FILEPATH_DP &&\r
+ *(CHAR16 *)((UINT8 *)DevicePath + NodeLength - 2) != 0) {\r
+ return FALSE;\r
+ }\r
}\r
\r
//\r