3.2.4.2.40.1 Name (get) (Opnum 12)

The Name (get) method retrieves the property definition instance.name of the property definition instance and returns S_OK upon successful completion.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY | 0x01))] HRESULT Name(
   [out, retval] BSTR* name
 );

name: Pointer to a variable that upon completion contains the property definition instance.name of the property definition instance.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The name parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that name is not NULL.

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

The server MUST set name to the property definition instance.name of the property definition instance.