next up previous contents index
Next: 6 Synchronization Interfaces Up: 5.2 Global Registry Previous: 5.2.3 oskit_lookup: Obtain a

5.2.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 using oskit_services_lookup_first.

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.


Utah Flux Research Group