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

Iterate though one or more returned server supported application namespaces.

Note that if eTooSmall is returned then the required size is returned in the both fields pNamespace->appNamespace.length and pNamespace->appData.length which indicate the size of their respective buffers the caller must provide. Also if eTooSmall is returned the enumerator has not moved to the next string so the caller can obtain the proper sized buffer and extract the string entry that failed.

Parameters
pNamespace[ out ] Pointer to a structure where the Application Specific Information attribute is returned. If pNamespace->appNamespace.pString is set to NULL, then the required length is also returned for both appNamespace and appData are returned.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpNamespace is NULL
P6R::eTooSmallOne or both buffers pointed to by pNamespace are too small.