diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2015-06-15 07:42:48 +0000 |
---|---|---|
committer | shenshushi <shenshushi@Edk2> | 2015-06-15 07:42:48 +0000 |
commit | e84fb6ebe76fdf695890db61096f0e71e43b9fd1 (patch) | |
tree | 8bf5a5288eaa18855fd4ac29376cfe4c655e7077 /MdePkg/Include | |
parent | a726471baa812a812a9a8f72a92610f598feaea2 (diff) | |
download | edk2-e84fb6ebe76fdf695890db61096f0e71e43b9fd1.tar.gz edk2-e84fb6ebe76fdf695890db61096f0e71e43b9fd1.tar.bz2 edk2-e84fb6ebe76fdf695890db61096f0e71e43b9fd1.zip |
MdePkg: Refine the comments for FileHandleIsDirectory.
Make the function comments of FileHandleIsDirectory in FileHandleLib consistent with instance implementation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17630 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Library/FileHandleLib.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/MdePkg/Include/Library/FileHandleLib.h b/MdePkg/Include/Library/FileHandleLib.h index 123cc8c58f..ed4d636fdd 100644 --- a/MdePkg/Include/Library/FileHandleLib.h +++ b/MdePkg/Include/Library/FileHandleLib.h @@ -1,7 +1,7 @@ /** @file
Provides interface to EFI_FILE_HANDLE functionality.
- Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2015, 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
@@ -242,15 +242,14 @@ FileHandleFlush ( /**
Function to determine if a given handle is a directory handle.
- If DirHandle is NULL, then ASSERT().
-
- Open the file information on the DirHandle, and verify that the Attribute
+ Open the file information on the DirHandle and verify that the Attribute
includes EFI_FILE_DIRECTORY bit set.
- @param[in] DirHandle The handle to open the file.
+ @param[in] DirHandle Handle to open file.
@retval EFI_SUCCESS DirHandle is a directory.
- @retval EFI_INVALID_PARAMETER DirHandle did not have EFI_FILE_INFO available.
+ @retval EFI_INVALID_PARAMETER DirHandle is NULL.
+ The file information returns from FileHandleGetInfo is NULL.
@retval EFI_NOT_FOUND DirHandle is not a directory.
**/
EFI_STATUS
|