Services
Version 1.02
12/12/00
69
3.4.1 LoadImage()
Summary
Loads an EFI image into memory.
Prototype
EFI_STATUS
LoadImage (
IN BOOLEAN
BootPolicy,
IN EFI_HANDLE
ParentImageHandle,
IN EFI_DEVICE_PATH
*FilePath,
IN VOID
*SourceBuffer
OPTIONAL,
IN UINTN
SourceSize,
OUT EFI_HANDLE
*ImageHandle
);
Parameters
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
.
ParentImageHandle
The caller’s image handle. Type
EFI_HANDLE
is defined in
Section 3.3.1
. This field is used to initialize the
ParentHandle
field of the
LOADED_IMAGE
protocol for the
image that is being loaded.
FilePath
The
DeviceHandle
specific file path from which the image is
loaded. Type
EFI_DEVICE_PATH
is defined in
Section 3.3.7
.
SourceBuffer
If not
NULL
, a pointer to the memory location containing a copy
of the image to be loaded.
SourceSize
The size in bytes of
SourceBuffer
. Ignored if
SourceBuffer
is
NULL
.
ImageHandle
Pointer to the returned image handle that is created when the
image is successfully loaded. Type
EFI_HANDLE
is defined
inSection 3.3.1.
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...