3.2.4.2.38.4 AppliesTo (get) (Opnum 25)

The AppliesTo (get) method returns what the property definition applies to as defined in the FsrmPropertyDefinitionType (section 2.2.2.3.1.1) enumeration.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x03)), helpstring("This property contains the object types the property definition can apply to")] HRESULT AppliesTo(
   [out, retval] long* appliesTo
 );

appliesTo: Pointer to a variable that upon completion contains what the property definition applies to.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The appliesTo parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that appliesTo is not NULL.

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

The server MUST set appliesTo to the Property Definition.AppliesTo of the property definition.