3.2.4.2.38.1 PropertyDefinitionFlags (get) (Opnum 22)

The PropertyDefinitionFlags (get) method returns the Property Definition.Global, Property Definition.Secure, and Property Definition.Deprecated values for the object.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x01)), helpstring("This property contains the flags for the property definition")] HRESULT PropertyDefinitionFlags(
   [out, retval] long* propertyDefinitionFlags
 );

propertyDefinitionFlags: Pointer to a variable that upon completion contains Property Definition.Global, Property Definition.Secure, and Property Definition.Deprecated values for the object.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The propertyDefinitionFlags parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that propertyDefinitionFlags is not NULL.

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

If the object's Property Definition.Global value is set to true, the server MUST set FsrmPropertyDefinitionFlags_Global on propertyDefinitionFlags.

If the object's Property Definition.Secure value is set to true, the server MUST set FsrmPropertyDefinitionFlags.Secure on propertyDefinitionFlags.

If the object's Property Definition.Deprecated value is set to true, the server MUST set FsrmPropertyDefinitionFlags.Deprecated on propertyDefinitionFlags.