|
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).
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. |