Previous Topic: void SetCallBack( PFN_CAMVICB pfCallBack )

Next Topic: LPCTSTR GetDescription(void)


void SetCBUserData( void* pUserData )

Stores the user data that will be passed to the callback function on each callback execution.

Note: The callback function takes as an argument a void*, and during execution the data set by this method is passed to the callback function through this argument. The callback function must know how to interpret this data itself.

Owning Class

CaMoveItem

Arguments

void*-user defined data type that is expected by callback function

Return Value

None

Example

CaMoveItem& rMoveItem = rContext.GetMoveItem();
rMoveItem.SetCBUserData( (void*) &usrData );

More information: