![Intel Extensible Firmware Interface Specification Download Page 89](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117089.webp)
Services
Version 1.02
12/12/00
71
3.4.2 StartImage()
Summary
Transfers control to a loaded image’s entry point.
Prototype
EFI_STATUS
StartImage (
IN EFI_HANDLE
ImageHandle,
OUT UINTN
*ExitDataSize,
OUT CHAR16
**ExitData
OPTIONAL
);
Parameters
ImageHandle
Handle of image to be started. Type
EFI_HANDLE
is defined in
Section
3.3.1
.
ExitDataSize
Pointer to the size, in bytes, of
ExitData
.
ExitData
Pointer to a pointer to a data buffer that includes a Null-terminated
Unicode string, optionally followed by additional binary data. The string
is a description that the caller may use to further indicate the reason for
the image’s exit.
Description
The
StartImage()
function transfers control to the entry point of an image that was loaded by
LoadImage()
. The image may only be started one time.
Control returns from
StartImage()
when the loaded image calls
Exit()
. When that call is
made, the
ExitData
buffer and
ExitDataSize
from
Exit()
(see Section 3.4.5) are passed
back through the
ExitData
buffer and
ExitDataSize
in this function. The caller of this
function is responsible for returning the
ExitData
buffer to the pool by calling
FreePool()
when the buffer is no longer needed.
Status Codes Returned
EFI_INVALID_PARAMETER
ImageHandle
is not a handle to an unstarted image.
Exit code from image
Exit code from image.
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...