Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPAttributeRef::getValue ( P6KMIP_ATTRIB_REFERENCE pValue)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsuffficient memory to properly initialize the component
P6R::eInvalidArgpValue is NULL.
P6R::eInvalidStateA successful call to next() must be done before calling this function.