![Intel Extensible Firmware Interface Specification Download Page 219](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117219.webp)
File System Protocol
Version 1.02
12/12/00
201
10.2.8 EFI_FILE.GetInfo()
Summary
Returns information about a file.
Prototype
EFI_STATUS
(EFIAPI *EFI_FILE_GET_INFO) (
IN EFI_FILE
*This,
IN EFI_GUID
*InformationType,
IN OUT UINTN
*BufferSize,
OUT VOID
*Buffer
);
Parameters
This
A pointer to the
EFI_FILE
instance that is the file handle the requested
information is for. Type
EFI_FILE
is defined in Section 10.2.
InformationType
The type identifier for the information being requested. Type
EFI_GUID
is defined in Chapter 3. See Section 10.2.11 and 10.2.12 for
the related GUID definitions.
BufferSize
On input, the size of
Buffer
. On output, the amount of data returned in
Buffer
. In both cases, the size is measured in bytes.
Buffer
A pointer to the data buffer to return. The buffer’s type is indicated by
InformationType
.
Description
The
GetInfo()
function returns information of type
InformationType
for the requested file.
If the file does not support the requested information type, then
EFI_UNSUPPORTED
is returned.
If the buffer is not large enough to fit the requested structure,
EFI_BUFFER_TOO_SMALL
is
returned and the
BufferSize
is set to the size of buffer that is required to make the request.
The information types defined by this specification are required information types that all file
systems must support.
Status Codes Returned
EFI_SUCCESS
The information was set.
EFI_UNSUPPORTED
The
InformationType
is not known.
EFI_NO_MEDIA
The device has no medium.
EFI_DEVICE_ERROR
The device reported an error.
EFI_VOLUME_CORRUPTED
The file system structures are corrupted.
EFI_BUFFER_TOO_SMALL
The
BufferSize
is too small to read the current directory entry.
BufferSize
has been updated with the size needed to complete the
request.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...