3.2.4.2.37.8 ValueDescriptions (get) (Opnum 18)

The ValueDescriptions (get) method returns an array of Possible Value Definition.Descriptions of the Possible Values for the property definition.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x04))] HRESULT ValueDescriptions(
   [out, retval] SAFEARRAY(VARIANT)* valueDescriptions
 );

valueDescriptions: Pointer to a variable that upon completion contains the array of Possible Value Definition.Descriptions for the property definition.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The valueDescriptions parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that valueDescriptions is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST set the members of the valueDescriptions array to the Possible Value Definition.Description property values of the list of Possible Values of the property definition, in the same order.