\r
#include "Fat.h"\r
\r
+/**\r
+\r
+ Get the volume's info into Buffer.\r
+\r
+ @param Volume - FAT file system volume.\r
+ @param BufferSize - Size of Buffer.\r
+ @param Buffer - Buffer containing volume info.\r
+\r
+ @retval EFI_SUCCESS - Get the volume info successfully.\r
+ @retval EFI_BUFFER_TOO_SMALL - The buffer is too small.\r
+\r
+**/\r
EFI_STATUS\r
FatGetVolumeInfo (\r
IN FAT_VOLUME *Volume,\r
OUT VOID *Buffer\r
);\r
\r
+/**\r
+\r
+ Set the volume's info.\r
+\r
+ @param Volume - FAT file system volume.\r
+ @param BufferSize - Size of Buffer.\r
+ @param Buffer - Buffer containing the new volume info.\r
+\r
+ @retval EFI_SUCCESS - Set the volume info successfully.\r
+ @retval EFI_BAD_BUFFER_SIZE - The buffer size is error.\r
+ @retval EFI_WRITE_PROTECTED - The volume is read only.\r
+ @return other - An error occurred when operation the disk.\r
+\r
+**/\r
EFI_STATUS\r
FatSetVolumeInfo (\r
IN FAT_VOLUME *Volume,\r
IN VOID *Buffer\r
);\r
\r
+/**\r
+\r
+ Set or Get the some types info of the file into Buffer.\r
+\r
+ @param IsSet - TRUE:The access is set, else is get\r
+ @param FHand - The handle of file\r
+ @param Type - The type of the info\r
+ @param BufferSize - Size of Buffer\r
+ @param Buffer - Buffer containing volume info\r
+\r
+ @retval EFI_SUCCESS - Get the info successfully\r
+ @retval EFI_DEVICE_ERROR - Can not find the OFile for the file\r
+\r
+**/\r
EFI_STATUS\r
FatSetOrGetInfo (\r
IN BOOLEAN IsSet,\r