![Intel Extensible Firmware Interface Скачать руководство пользователя страница 90](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117090.webp)
Extensible Firmware Interface Specification
72
12/12/00
Version 1.02
3.4.3 UnloadImage()
Summary
Unloads an image.
Prototype
EFI_STATUS
UnloadImage (
IN EFI_HANDLE
ImageHandle
);
Parameters
ImageHandle
Handle that identifies the image to be unloaded. Type
EFI_HANDLE
is
defined in
Section 3.3.1
.
Description
The
UnloadImage()
function unloads a previously loaded image.
There are three possible scenarios. If the image has not been started, the function unloads the
image and returns
EFI_SUCCESS
.
If the image has been started and has an
Unload()
entry point, control is passed to that entry
point. If the image’s unload function returns
EFI_SUCCESS
, the image is unloaded; otherwise,
the error returned by the image’s unload function is returned to the caller. The image unload
function is responsible for freeing all allocated memory and ensuring that there are no references to
any freed memory, or to the image itself, before returning
EFI_SUCCESS
.
If the image has been started and does not have an
Unload()
entry point, the function returns
EFI_UNSUPPORTED
.
Status Codes Returned
EFI_SUCCESS
The image has been unloaded.
EFI_UNSUPPORTED
The image has been started, and does not support unload.
EFI_INVALID_PARAMETER
ImageHandle
is not a valid image handle.
Exit code from Unload handler
Exit code from image’s unload function.
Содержание Extensible Firmware Interface
Страница 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Страница 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Страница 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Страница 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Страница 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Страница 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Страница 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Страница 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Страница 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Страница 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Страница 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Страница 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Страница 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Страница 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Страница 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...