-
Notifications
You must be signed in to change notification settings - Fork 3
API: ObGetInterface
Archie_UwU edited this page Dec 26, 2023
·
2 revisions
Retrieves a pointer to an already-created interface.
AurieStatus ObGetInterface(
[in] const char* InterfaceName,
[out] AurieInterfaceBase*& Interface
);
The unique name of the interface which to fetch. The interface lookup is case-insensitive, therefore accessing interface ABC
is the same as interface Abc
.
A reference to a pointer-sized buffer, into which a pointer to the interface instance is written. The pointer returned by this function is guaranteed to remain valid until the interface is destroyed by its owner or the framework itself.
The function returns AURIE_SUCCESS
on success, otherwise returns a matching error code. If the interface doesn't exist, the function returns AURIE_OBJECT_NOT_FOUND
.