Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IInitMessage::setCleanupRoutine ( QMSGCLEANUPCB  pfnCleanup,
P6VOID pCtx 
)
pure virtual

Registers a cleanup routine with the message that is used to cleanup data set with the setData() method.

This routine will be called before the message is destroyed to allow allocated memory to be freed (and any other cleanup that may be required).

Parameters
pfnCleanup[ in ] The address if the QMSGCLEANUPCB routine to use.
pCtx[ in ] A pointer to a user provided context which will be passed to the cleanup routine.
Returns