#include <Library/HiiLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiLib.h>\r
+#include <Library/OrderedCollectionLib.h>\r
\r
typedef struct{\r
LIST_ENTRY Link;\r
CHAR16 *Path;\r
} SHELL_COMMAND_FILE_HANDLE;\r
\r
+//\r
+// Collects multiple EFI_SHELL_FILE_INFO objects that share the same name.\r
+//\r
+typedef struct {\r
+ //\r
+ // A string that compares equal to either the FileName or the FullName fields\r
+ // of all EFI_SHELL_FILE_INFO objects on SameNameList, according to\r
+ // gUnicodeCollation->StriColl(). The string is not dynamically allocated;\r
+ // instead, it *aliases* the FileName or FullName field of the\r
+ // EFI_SHELL_FILE_INFO object that was first encountered with this name.\r
+ //\r
+ CONST CHAR16 *Alias;\r
+ //\r
+ // A list of EFI_SHELL_FILE_INFO objects whose FileName or FullName fields\r
+ // compare equal to Alias, according to gUnicodeCollation->StriColl().\r
+ //\r
+ LIST_ENTRY SameNameList;\r
+} SHELL_SORT_UNIQUE_NAME;\r
\r
#endif //_UEFI_COMMAND_LIB_INTERNAL_HEADER_\r
\r