Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IMessage::getData ( OUT P6VOID **  ppData)
pure virtual

This method retrieves data previously attached to the message by the p6IInitMessage::setData() method.

This method does not remove the the pointer from the message and subsiquent calls to getData() will continue to return the pointer.

The data should be cleaned up by registering a cleanup routine using the p6IInitMessage::setCleanupRoutine() method which will be called when the message is destoryed.

Parameters
ppDataThe address of a pointer in which will be placed the pointer value originally set by calling p6IInitMessage::setData(). If no pointer value was previously set, then *ppData will be NULL and eNotFound will be returned directly.
Returns
SuccesseOkLife is good.
FailureeNotFoundNo data has been stored in this message
eInvalidArgppData is NULL