EFI_LOCATE_PROTOCOL

Returns the first protocol instance that matches the given protocol.

@paramin Protocol Provides the protocol to search for. @paramin Registration Optional registration key returned from RegisterProtocolNotify(). @paramout Interface On return, a pointer to the first interface that matches Protocol and Registration.

@retval EFI_SUCCESS A protocol instance matching Protocol was found and returned in Interface. @retval EFI_NOT_FOUND No protocol instances were found that match Protocol and Registration. @retval EFI_INVALID_PARAMETER Interface is NULL.

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

Meta