EFI_INSTALL_PROTOCOL_INTERFACE

Installs a protocol interface on a device handle. If the handle does not exist, it is created and added to the list of handles in the system. InstallMultipleProtocolInterfaces() performs more error checking than InstallProtocolInterface(), so it is recommended that InstallMultipleProtocolInterfaces() be used in place of InstallProtocolInterface()

@param[in, out] Handle A pointer to the EFI_HANDLE on which the interface is to be installed. @paramin Protocol The numeric ID of the protocol interface. @paramin InterfaceType Indicates whether Interface is supplied in native form. @paramin Interface A pointer to the protocol interface.

@retval EFI_SUCCESS The protocol interface was installed. @retval EFI_OUT_OF_RESOURCES Space for a new handle could not be allocated. @retval EFI_INVALID_PARAMETER Handle is NULL. @retval EFI_INVALID_PARAMETER Protocol is NULL. @retval EFI_INVALID_PARAMETER InterfaceType is not EFI_NATIVE_INTERFACE. @retval EFI_INVALID_PARAMETER Protocol is already installed on the handle specified by Handle.

extern (C)
alias EFI_INSTALL_PROTOCOL_INTERFACE = EFI_STATUS function @nogc nothrow

Meta