Previous Topic: void SetCallBack( PFN_CARMICB 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

CaRenameItem

Arguments

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

Return Value

None

Example

CaRenameItem& rRenameItem = rContext.GetRenameItem();
rRenameItem.SetCBUserData( (void*) &usrData );

More information: