next up previous contents index
Next: 4.10 oskit_listener_mgr: Interface for Up: 4.9 oskit_listener: callback interface Previous: 4.9.1 create: Create a

4.9.2 notify: Inform a listener that an event of interest has occurred

 

SYNOPSIS

#include <oskit/com/listener.h>

OSKIT_COMDECL oskit_listener_notify(oskit_listener_t *l, oskit_iunknown_t *obj);

DESCRIPTION

Invokes a listener's event notification function. The obj parameter should indicate the COM object with which the listener was associated.

PARAMETERS

l
The listener object.
obj
The associated COM object.

RETURNS

Returns the result of the notification function which should be 0 on success, or an error code as specified in <oskit/error.h>.



Utah Flux Research Group