]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/FileHandleLib.h
MdePkg: Refine the comments for FileHandleIsDirectory.
[mirror_edk2.git] / MdePkg / Include / Library / FileHandleLib.h
index 123cc8c58f61ab7ea25fad3f2c6f4af4af6547d1..ed4d636fdd54da47544aecc828bf515d142dfe86 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provides interface to EFI_FILE_HANDLE functionality.\r
 \r
-  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -242,15 +242,14 @@ FileHandleFlush (
 /**\r
   Function to determine if a given handle is a directory handle.\r
 \r
-  If DirHandle is NULL, then ASSERT().\r
-\r
-  Open the file information on the DirHandle, and verify that the Attribute\r
+  Open the file information on the DirHandle and verify that the Attribute\r
   includes EFI_FILE_DIRECTORY bit set.\r
 \r
-  @param[in] DirHandle          The handle to open the file.\r
+  @param[in] DirHandle          Handle to open file.\r
 \r
   @retval EFI_SUCCESS           DirHandle is a directory.\r
-  @retval EFI_INVALID_PARAMETER DirHandle did not have EFI_FILE_INFO available.\r
+  @retval EFI_INVALID_PARAMETER DirHandle is NULL. \r
+                                The file information returns from FileHandleGetInfo is NULL. \r
   @retval EFI_NOT_FOUND         DirHandle is not a directory.\r
 **/\r
 EFI_STATUS\r