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
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pValidation is NULL |
P6R::eTooSmall | One or more of the text fields in pValidation is too small. |