diff options
author | Chen A Chen <chen.a.chen@intel.com> | 2016-12-29 14:52:45 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-01-11 10:07:07 +0800 |
commit | 0976f90821e2677a85d72e93de9dc140c2c99742 (patch) | |
tree | 7cd3cc52908afdfc602125adc1ecfb647a89e0d5 /ShellPkg/Include | |
parent | 0e88348e4b252cd68b88e1d87085208be2293651 (diff) | |
download | edk2-0976f90821e2677a85d72e93de9dc140c2c99742.tar.gz edk2-0976f90821e2677a85d72e93de9dc140c2c99742.tar.bz2 edk2-0976f90821e2677a85d72e93de9dc140c2c99742.zip |
ShellPkg/HandleParsingLib: Add new API GetAllMappingGuids
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Include')
-rw-r--r-- | ShellPkg/Include/Library/HandleParsingLib.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/ShellPkg/Include/Library/HandleParsingLib.h b/ShellPkg/Include/Library/HandleParsingLib.h index 79dcc9cc5a..b02cf4f089 100644 --- a/ShellPkg/Include/Library/HandleParsingLib.h +++ b/ShellPkg/Include/Library/HandleParsingLib.h @@ -1,7 +1,7 @@ /** @file
Provides interface to advanced shell functionality for parsing both handle and protocol database.
- Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -388,4 +388,23 @@ GetHandleListByProtocolList ( IN CONST EFI_GUID **ProtocolGuids
);
+
+/**
+ Return all supported GUIDs.
+
+ @param[out] Guids The buffer to return all supported GUIDs.
+ @param[in out] Count On input, the count of GUIDs the buffer can hold,
+ On output, the count of GUIDs to return.
+
+ @retval EFI_INVALID_PARAMETER Count is NULL.
+ @retval EFI_BUFFER_TOO_SMALL Buffer is not enough to hold all GUIDs.
+ @retval EFI_SUCCESS GUIDs are returned successfully.
+**/
+EFI_STATUS
+EFIAPI
+GetAllMappingGuids (
+ OUT EFI_GUID *Guids,
+ IN OUT UINTN *Count
+ );
+
#endif // __HANDLE_PARSING_LIB__
|