Function installProtocolInterface [src]

See installProtocolInterfaces. Does not call self._installProtocolInterface, because self._installMultipleProtocolInterfaces performs more error checks.

Prototype

pub fn installProtocolInterface( self: *BootServices, handle: ?Handle, interface: anytype, ) InstallProtocolInterfacesError!Handle

Parameters

self: *BootServiceshandle: ?Handle

Possible Errors

AlreadyStarted
InvalidParameter
OutOfResources
Unexpected UnexpectedError

Source

pub fn installProtocolInterface( self: *BootServices, handle: ?Handle, interface: anytype, ) InstallProtocolInterfacesError!Handle { return self.installProtocolInterfaces(handle, .{ interface, }); }