Return the value of the attribute reference pointed to by the enumerator's cursor.
Note that when an attribute reference is for a vendor defined attribute the fields of the P6KMIP_ATTRIB_REFERENCE structure vendorIdentification and attributeName of the pValue parameter require that the caller preset to set a valid buffer of the required size. The values returned from the next() call indicates whether the next reference is for a vendor attribute or not.
- Parameters
-
pValue | [ in ] The value of an attribute associated with a managed object. Depending on the attribute type a NULL pointer passed in for text or byte string buffer will result in the required size of the buffer being returned (e.g., extension name and value text buffers). |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eInvalidArg | pValue is NULL. |
P6R::eInvalidState | A successful call to next() must be done before calling this function. |