3.2.4.2.37.4 Type (get) (Opnum 14)

The Type (get) method returns the type of the property definition as defined in the FsrmPropertyDefinitionType (section 2.2.2.3.1.1) enumeration.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x02))] HRESULT Type(
   [out, retval] FsrmPropertyDefinitionType* type
 );

type: Pointer to a variable that upon completion contains the type of 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 type parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that type is not NULL.

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

The server MUST set type to the Property Definition.Type of the property definition.