3.2.4.2.38.6 ValueDefinitions (get) (Opnum 27)

The ValueDefinitions (get) method returns the property definitions Possible Values.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x04)), helpstring("This property contains the possible value definitions of the property definition")] HRESULT ValueDefinitions(
   [out, retval] IFsrmCollection** valueDefinitions
 );

valueDefinitions: Pointer to a variable that, upon completion, contains the array of IFsrmPropertyDefinitionValue elements as defined in 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 valueDefinitions parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that valueDefinitions is not NULL.

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

The server MUST set valueDefinitions to the Property Values of the property definition.