3.2.4.2.8.1 EventType (get) (Opnum 12)

The EventType (get) method returns the event type property of the action. The event type determines what type of event the action will generate if it is run.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EVENTLOG | 0x01))] HRESULT EventType(
   [out, retval] FsrmEventType* eventType
 );

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

Upon receiving this message, the server MUST validate parameters:

  • Verify that eventType is not NULL.

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

The server MUST set eventType to the event type of the action.