Search:

As defined in xcapi.h

xerr xcCreateContainerWithVectoredEvents(xhandle session,
XC_OBJECT_TYPE object_type,
xhandle *object,
xcObjectVectoredCallback callback,
xuint64 turnkey,
xuint32 max_slots);

Description:

Creates a container object of the specified type and registers a callback function for event notifications. Note that container objects created with this call deliver vectored events (with multiple updates per callback invocation, when appropriate). To create a container object that delivers discrete events only (i.e., one update per callback), use the xcCreateContainer() call.

Restrictions:

Parameters:

Returns:

An xerr type indicating the status of the creation operation.

Common error codes:

XSUCCESS The container object was successfully created.
XINVAL Invalid parameter, object not created.
XTYPE An invalid object type parameter was supplied.
XTHREAD Called from an invalid thread.
XNOTCONNECTED Session not connected.
XBADHANDLE Invalid handle.



[ Top Of Page ]