Previous Topic: void SetCallBack( PFN_CACOCB pfCallBack )

Next Topic: PFN_CACOCB GetCallBack(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

CaCheckout

Arguments

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

Return Value

None

Example

CaCheckout& rCheckout = rContext.GetCheckout(); rCheckout.SetCBUserData( (void*) &usrData );

More information: