Efi_file.getposition(), Getposition(), Func – Intel Extensible Firmware Interface User Manual

Page 389

Advertising
background image

Protocols

— Bootable Image Support

Version 1.10

12/01/02

11-29

EFI_FILE.GetPosition()

Summary

Returns a file’s 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. See the type

EFI_FILE

protocol description.

Position

The address to return the file’s 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.

Advertising