Search:

As defined in xcapi.h

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

Description:

Creates a container object of the specified type and registers a callback function for event notifications.

Container objects created with this call deliver discrete events only (with one update per callback invocation). To create a market data container object that delivers vectored events (i.e., multiple updates in a single callback, when appropriate), use xcCreateContainerWithVectoredEvents().

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 ]