next up previous contents index
Next: 4.10 oskit_lock: Thread-safe lock Up: 4.9 Services Registry Previous: 4.9.3 oskit_lookup: Obtain a

4.9.4 oskit_lookup_first: Obtain the first COM interface registered for an IID

 

SYNOPSIS

#include <oskit/com/services.h>

oskit_error_t oskit_lookup_first(const struct oskit_guid *iid, [out] void **out_interface);

DESCRIPTION

Look up the first COM interface that has been registered with a particular IID. The client is responsible for releasing the reference on the interface.

PARAMETERS

iid
The oskit_guid of the COM interface being looked up..
out_interface
The first COM interface registered for the given IID.

RETURNS

Always returns 0, setting out_interface to NULL if there was no match.



University of Utah Flux Research Group