3.2.4.2.4.1 Id (get) (Opnum 7)

The Id (get) method returns the read-only ID of the action.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION | 0x01))] HRESULT Id(
   [out, retval] FSRM_OBJECT_ID* id
 );

id: Pointer to a variable that upon completion contains the ID of the action.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The id parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that id is not NULL.

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

The server MUST set id to the Notification.Id of the action.