15 #ifndef __EFI_LOAD_FILE2_PROTOCOL_H__ 16 #define __EFI_LOAD_FILE2_PROTOCOL_H__ 20 #define EFI_LOAD_FILE2_PROTOCOL_GUID \ 22 0x4006c0c1, 0xfcb3, 0x403e, {0x99, 0x6d, 0x4a, 0x6c, 0x87, 0x24, 0xe0, 0x6d } \ 28 #define LOAD_FILE2_PROTOCOL EFI_LOAD_FILE2_PROTOCOL_GUID #define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
128 bit buffer containing a unique identifier value.
EFI_GUID gEfiLoadFile2ProtocolGuid
FILE_LICENCE(BSD2_PATENT)
UINT16_t BufferSize
Buffer size.
This protocol can be used on any device handle to obtain generic path/location information concerning...
SEGOFF16_t Buffer
Buffer address.
UINT64 UINTN
Unsigned value of native width.
#define VOID
Undeclared type.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_STATUS(EFIAPI * EFI_LOAD_FILE2)(IN EFI_LOAD_FILE2_PROTOCOL *This, IN EFI_DEVICE_PATH_PROTOCOL *FilePath, IN BOOLEAN BootPolicy, IN OUT UINTN *BufferSize, IN VOID *Buffer OPTIONAL)
Causes the driver to load a specified file.
The EFI_LOAD_FILE_PROTOCOL is a simple protocol used to obtain files from arbitrary devices.