summaryrefslogtreecommitdiffstats
path: root/FatPkg/EnhancedFatDxe/Delete.c
diff options
context:
space:
mode:
Diffstat (limited to 'FatPkg/EnhancedFatDxe/Delete.c')
-rw-r--r--FatPkg/EnhancedFatDxe/Delete.c35
1 files changed, 10 insertions, 25 deletions
diff --git a/FatPkg/EnhancedFatDxe/Delete.c b/FatPkg/EnhancedFatDxe/Delete.c
index e5103a850c..9837565a8e 100644
--- a/FatPkg/EnhancedFatDxe/Delete.c
+++ b/FatPkg/EnhancedFatDxe/Delete.c
@@ -1,4 +1,5 @@
-/*++
+/** @file
+ Function that deletes a file.
Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
@@ -10,41 +11,25 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-Module Name:
+**/
- delete.c
-
-Abstract:
+#include "Fat.h"
- Function that deletes a file
+/**
-Revision History
+ Deletes the file & Closes the file handle.
---*/
+ @param FHand - Handle to the file to delete.
-#include "Fat.h"
+ @retval EFI_SUCCESS - Delete the file successfully.
+ @retval EFI_WARN_DELETE_FAILURE - Fail to delete the file.
+**/
EFI_STATUS
EFIAPI
FatDelete (
IN EFI_FILE_PROTOCOL *FHand
)
-/*++
-
-Routine Description:
-
- Deletes the file & Closes the file handle.
-
-Arguments:
-
- FHand - Handle to the file to delete.
-
-Returns:
-
- EFI_SUCCESS - Delete the file successfully.
- EFI_WARN_DELETE_FAILURE - Fail to delete the file.
-
---*/
{
FAT_IFILE *IFile;
FAT_OFILE *OFile;