Efi_File.getinfo() - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

10.2.8 EFI_FILE.GetInfo()

Summary
Returns information about a file.
Prototype
EFI_STATUS
(EFIAPI *EFI_FILE_GET_INFO) (
IN EFI_FILE
IN EFI_GUID
IN OUT UINTN
OUT VOID
);
Parameters
This
InformationType
BufferSize
Buffer
Description
The
function returns information of type
GetInfo()
If the file does not support the requested information type, then
If the buffer is not large enough to fit the requested structure,
returned and the
BufferSize
The information types defined by this specification are required information types that all file
systems must support.
Status Codes Returned
EFI_SUCCESS
EFI_UNSUPPORTED
EFI_NO_MEDIA
EFI_DEVICE_ERROR
EFI_VOLUME_CORRUPTED
EFI_BUFFER_TOO_SMALL
Version 1.02
*This,
*InformationType,
*BufferSize,
*Buffer
A pointer to the
EFI_FILE
information is for. Type
EFI_FILE
The type identifier for the information being requested. Type
is defined in Chapter 3. See Section 10.2.11 and 10.2.12 for
EFI_GUID
the related GUID definitions.
On input, the size of Buffer. On output, the amount of data returned in
Buffer. In both cases, the size is measured in bytes.
A pointer to the data buffer to return. The buffer's type is indicated by
InformationType.
is set to the size of buffer that is required to make the request.
The information was set.
The
InformationType
The device has no medium.
The device reported an error.
The file system structures are corrupted.
The
is too small to read the current directory entry.
BufferSize
has been updated with the size needed to complete the
BufferSize
request.
12/12/00
File System Protocol
instance that is the file handle the requested
is defined in Section 10.2.
for the requested file.
InformationType
EFI_UNSUPPORTED
EFI_BUFFER_TOO_SMALL
is not known.
is returned.
is
201

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents