Extensible Firmware Interface Specification
200 12/12/00 Version 1.02
10.2.7 EFI_FILE.GetPosition()
Summary
Returns a files current position.
Prototype
EFI_STATUS
(EFIAPI *EFI_GET_POSITION) (
IN EFI_FILE *This,
OUT UINT64 *Position
);
Parameters
This A pointer to the EFI_FILE instance that is the file handle to get the
current position on. Type EFI_FILE is defined in Section 10.2.
Position The address to return the files current position value.
Description
The GetPosition() 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. An error is returned if This is a directory.
Status Codes Returned
EFI_SUCCESS The position was returned.
EFI_UNSUPPORTED The request is not valid on open directories.