diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-16 08:02:57 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-16 08:02:57 +0000 |
commit | 11074aabe131c7bcc850b1e95f567c205fff64fd (patch) | |
tree | 19556af34d92c2879fbb27864d2460195c29054a /MdeModulePkg | |
parent | b436ed893b1d01c5b72495c75dc0a400a97853b3 (diff) | |
download | edk2-platforms-11074aabe131c7bcc850b1e95f567c205fff64fd.tar.xz |
CoreHandleProtocol function description should be corrected.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5903 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Hand/Handle.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/MdeModulePkg/Core/Dxe/Hand/Handle.c b/MdeModulePkg/Core/Dxe/Hand/Handle.c index afc0d1b5cb..cda7d66d50 100644 --- a/MdeModulePkg/Core/Dxe/Hand/Handle.c +++ b/MdeModulePkg/Core/Dxe/Hand/Handle.c @@ -916,7 +916,11 @@ CoreGetProtocolInterface ( @param Interface Supplies the address where a pointer to the
corresponding Protocol Interface is returned.
- @return The requested protocol interface for the handle
+ @retval EFI_SUCCESS The interface information for the specified protocol was returned.
+ @retval EFI_UNSUPPORTED The device does not support the specified protocol.
+ @retval EFI_INVALID_PARAMETER Handle is not a valid EFI_HANDLE..
+ @retval EFI_INVALID_PARAMETER Protocol is NULL.
+ @retval EFI_INVALID_PARAMETER Interface is NULL.
**/
EFI_STATUS
@@ -1274,11 +1278,15 @@ Done: @param UserHandle The handle to close the protocol interface on
@param Protocol The ID of the protocol
- @param EntryBuffer A pointer to a buffer of open protocol
- information in the form of
- EFI_OPEN_PROTOCOL_INFORMATION_ENTRY structures.
+ @param EntryBuffer A pointer to a buffer of open protocol information in the
+ form of EFI_OPEN_PROTOCOL_INFORMATION_ENTRY structures.
@param EntryCount Number of EntryBuffer entries
+ @retval EFI_SUCCESS The open protocol information was returned in EntryBuffer,
+ and the number of entries was returned EntryCount.
+ @retval EFI_NOT_FOUND Handle does not support the protocol specified by Protocol.
+ @retval EFI_OUT_OF_RESOURCES There are not enough resources available to allocate EntryBuffer.
+
**/
EFI_STATUS
EFIAPI
|