Extensible Firmware Interface Specification
9-22 12/01/02 Version 1.10
//
// Uninstall the protocol installed in Start()
//
Status = gBS->UninstallMultipleProtocolInterfaces (
ControllerHandle,
&gEfiAbcIoProtocolGuid, &AbcDevice->AbcIo,
NULL
);
if (!EFI_ERROR (Status)) {
//
// Close the protocol opened in Start()
//
Status = gBS->CloseProtocol (
ControllerHandle,
&gEfiXyzIoProtocolGuid,
This->DriverBindingHandle,
ControllerHandle
);
//
// Free the structure allocated in Start().
//
gBS->FreePool (AbcDevice);
}
return Status;
}