Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPExtInfo::next ( P6KMIP_EXTENSION pExtension)
pure virtual

Get the next returned server supported extension definition.

Note that if eTooSmall is returned then the required size is returned in the pExtension->name.length field which indicate the size of the buffer the caller must provide. Also if eTooSmall is returned the enumerator has not moved to the next entry so the caller can obtain the proper sized buffer and extract the entry that failed.

Parameters
pExtension[ out ] Pointer to a structure where the Extension Information is returned. If pExtension->name.pString is set to NULL then the required length is also returned.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpExtension is NULL
P6R::eTooSmallThe name buffer pointed to by pExtension is too small.