15#ifndef __EFI_LOAD_FILE2_PROTOCOL_H__
16#define __EFI_LOAD_FILE2_PROTOCOL_H__
21#define EFI_LOAD_FILE2_PROTOCOL_GUID \
23 0x4006c0c1, 0xfcb3, 0x403e, {0x99, 0x6d, 0x4a, 0x6c, 0x87, 0x24, 0xe0, 0x6d } \
29#define LOAD_FILE2_PROTOCOL EFI_LOAD_FILE2_PROTOCOL_GUID
unsigned char BOOLEAN
Logical Boolean.
UINT64 UINTN
Unsigned value of native width.
#define VOID
Undeclared type.
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
struct _EFI_LOAD_FILE2_PROTOCOL EFI_LOAD_FILE2_PROTOCOL
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.
EFI_GUID gEfiLoadFile2ProtocolGuid
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
UINT16_t BufferSize
Buffer size.
SEGOFF16_t Buffer
Buffer address.
This protocol can be used on any device handle to obtain generic path/location information concerning...
The EFI_LOAD_FILE_PROTOCOL is a simple protocol used to obtain files from arbitrary devices.