3.2.4.2.4.2 ActionType (get) (Opnum 8)

The ActionType (get) method returns the read-only action type property of the action.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION | 0x02))] HRESULT ActionType(
   [out, retval] FsrmActionType* actionType
 );

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

Upon receiving this message, the server MUST validate parameters:

  • Verify that actionType is not NULL.

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

The server MUST set actionType to the action type of the action.