X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=FatPkg%2FEnhancedFatDxe%2FDelete.c;h=9837565a8ef8f11c8d211aeb72ff64c18d17dbb0;hb=cae7420b4bd015b78f915c4ba766dbee15da0468;hp=e5103a850c668424bae4f5eea97240f04bfea223;hpb=6b7e4498e8eb4b3e69472bdadbc5de60d15e0d4d;p=mirror_edk2.git 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.
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;