Loaded_image.unload(), Unload() – Intel Extensible Firmware Interface User Manual

Page 219

Advertising
background image

Protocols

— EFI Loaded Image

Version 1.10

12/01/02

7-3

LOADED_IMAGE.Unload()

Summary

Unloads an image from memory.

Prototype

typedef

EFI_STATUS

(EFIAPI *EFI_UNLOAD_IMAGE) (

IN EFI_HANDLE

ImageHandle,

);

Parameters

ImageHandle

The handle to the image to unload. Type

EFI_HANDLE

is defined in

Chapter 5.

Description

The

Unload()

function unloads an image from memory if

ImageHandle

is valid.

Status Codes Returned

EFI_SUCCESS

The image was unloaded.

EFI_INVALID_PARAMETER The

ImageHandle was not valid.

Advertising