10.2.6 EFI_FILE.SetPosition()
Summary
Sets a file's current position.
Prototype
EFI_STATUS
(EFIAPI *EFI_FILE_SET_POSITION) (
IN EFI_FILE
IN UINT64
);
Parameters
This
Position
Description
The
SetPosition()
supplied. With the exception of seeking to position –1, only absolute positioning is supported, and
seeking past the end of the file is allowed (a subsequent write would grow the file). Seeking to
position –1 causes the current position to be set to the end of the file.
If
is a directory, the only position that may be set is zero. This has the effect of starting the
This
read process of the directory entries over.
Status Codes Returned
EFI_SUCCESS
EFI_UNSUPPORTED
Version 1.02
*This,
Position
A pointer to the
EFI_FILE
requested position on. Type
The byte position from the start of the file to set.
function sets the current file position for the handle to the position
The position was set.
The seek request for non-zero is not valid on open
directories.
12/12/00
File System Protocol
instance that is the he file handle to set the
is defined in Section 10.2.
EFI_FILE
199
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?