Extensible Firmware Interface Specification
19-66 12/01/02 Version 1.10
EFI_EBC_PROTOCOL.UnloadImage()
Summary
Called prior to unloading an EBC image from memory.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_EBC_UNLOAD_IMAGE) (
IN EFI_EBC_PROTOCOL *This,
IN EFI_HANDLE ImageHandle
);
Parameters
This A pointer to the EFI_EBC_PROTOCOL instance. This protocol is
defined in Section 19.11.
ImageHandle Image handle of the EBC image that is being unloaded from
memory.
Description
This function is called after an EBC image has exited, but before the image is actually unloaded. It
is intended to provide the interpreter with the opportunity to perform any cleanup that may be
necessary as a result of loading and executing the image.
Status Codes Returned
EFI_SUCCESS The function completed successfully.
EFI_INVALID_PARAMETER Image handle is not recognized as belonging to an EBC image that
has been executed.