![Intel Extensible Firmware Interface Specification Download Page 77](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117077.webp)
Services
Version 1.02
12/12/00
59
3.3.2 UninstallProtocolInterface()
Summary
Removes a protocol interface from a device handle.
Prototype
EFI_STATUS
UninstallProtocolInterface (
IN EFI_HANDLE
Handle,
IN EFI_GUID
*Protocol,
IN VOID
*Interface
);
Parameters
Handle
The handle on which the interface was installed. Type
EFI_HANDLE
is
defined in Section 3.3.1. If
Handle
is not a valid handle, then
EFI_INVALID_PARAMETER
is returned.
Protocol
The numeric ID of the interface. Type
EFI_GUID
is defined in
Section 3.3.1. It is the callers responsibility to pass in a valid GUID.
See “Wired For Management Baseline” for a description of valid GUID
values.
Interface
A pointer to the interface.
NULL
can be used if a structure is not
associated with
Protocol
.
Description
The
UninstallProtocolInterface()
function removes a protocol interface from the
handle on which it was previously installed. The
Protocol
and
Interface
values define the
protocol interface to remove from the handle.
The caller is responsible for ensuring that there are no references to a protocol interface that has
been removed. In some cases, outstanding reference information is not available in the protocol, so
the protocol, once added, cannot be removed. Examples include Console I/O, Block I/O, Disk I/O,
and (in general) handles to device protocols.
If the last protocol interface is removed from a handle, the handle is freed and is no longer valid.
Status Codes Returned
EFI_SUCCESS
The interface was removed.
EFI_NOT_FOUND
The interface was not found.
EFI_INVALID_PARAMETER
One of the parameters has an invalid value.
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...