3.2.4.2.39.4 UniqueID (get) (Opnum 15)

The UniqueID (get) method returns the Property Value Definition.UniqueId of the property definition value.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION_VALUE | 0x04)) ,
 helpstring("This property contains the unique ID of the property definition value")] HRESULT UniqueID(
   [out, retval] BSTR* uniqueID
 );

uniqueID: Pointer to a variable that, upon completion, contains the Property Value Definition.UniqueId of the property definition value.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The uniqueID parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that uniqueID is not NULL.

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

The server MUST set uniqueID to the Property Definition Value.UniqueId of the property definition.