next up previous contents index
Next: 5.1.5 create: Create a Up: 5.1 oskit_services: registration database Previous: 5.1.3 lookup: Obtain a

5.1.4 lookup_first: Obtain the first COM interface registered for an IID

 

SYNOPSIS

#include <oskit/com/services.h>

OSKIT_COMDECL oskit_services_lookup(oskit_services_t *s, 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

s
The services registry object.
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.



Utah Flux Research Group