Specifications
30 Version 2.0
EFI_SHELL_PROTOCOL.GetFilePosition()
Summary
Gets a file’s current position
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_GET_FILE_POSITION)(
IN EFI_FILE_HANDLE FileHandle,
OUT UINT64 *Position
);
Parameters
FileHandle
The file handle on which to get the current position.
Position
Byte position from the start of the file
Description
This function returns the current file position for the file handle. For directories, the
current file position has no meaning outside of the file system driver and as such, the
operation is not supported.
Status Codes Returns
EFI_SUCCESS Data was accessed.
EFI_UNSUPPORTED The request is not valid on open directories.










