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

Get the next returned server supported profile definition.

Note that if eTooSmall is returned then the required size is returned in all text string fields of the P6KMIP_PROFILEINFO structure (e.g., the pSupported->serverURI.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
pSupported[ out ] Pointer to a structure where the Profile Information is returned. If any text field is set to NULL then the required length is returned for all text fields in the P6KMIP_PROFILEINFO structure. Note that currently the one text field "serverURI" is not required for all profiles and is thus ignored where not used.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpValidation is NULL
P6R::eTooSmallOne or more of the text fields in pValidation is too small.