IWDTFActions2::Add method (wdtf.h)

Add a single action to the collection.

Syntax

HRESULT Add(
  [in] IWDTFAction2 *pAction
);

Parameters

[in] pAction

The action to add to this collection.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Desktop
Header wdtf.h