EFI_IMAGE_LOAD

Loads an EFI image into memory.

@paramin BootPolicy If TRUE, indicates that the request originates from the boot manager, and that the boot manager is attempting to load FilePath as a boot selection. Ignored if SourceBuffer is not NULL. @paramin ParentImageHandle The caller's image handle. @paramin DevicePath The DeviceHandle specific file path from which the image is loaded. @paramin SourceBuffer If not NULL, a pointer to the memory location containing a copy of the image to be loaded. @paramin SourceSize The size in bytes of SourceBuffer. Ignored if SourceBuffer is NULL. @paramout ImageHandle The pointer to the returned image handle that is created when the image is successfully loaded.

@retval EFI_SUCCESS Image was loaded into memory correctly. @retval EFI_NOT_FOUND Both SourceBuffer and DevicePath are NULL. @retval EFI_INVALID_PARAMETER One or more parametes are invalid. @retval EFI_UNSUPPORTED The image type is not supported. @retval EFI_OUT_OF_RESOURCES Image was not loaded due to insufficient resources. @retval EFI_LOAD_ERROR Image was not loaded because the image format was corrupt or not understood. @retval EFI_DEVICE_ERROR Image was not loaded because the device returned a read error. @retval EFI_ACCESS_DENIED Image was not loaded because the platform policy prohibits the image from being loaded. NULL is returned in *ImageHandle. @retval EFI_SECURITY_VIOLATION Image was loaded and an ImageHandle was created with a valid EFI_LOADED_IMAGE_PROTOCOL. However, the current platform policy specifies that the image should not be started.

extern (C)
alias EFI_IMAGE_LOAD = EFI_STATUS function @nogc nothrow

Meta