IWDTFActions2::Remove method (wdtf.h)
Remove an action from the collection.
Syntax
HRESULT Remove(
[in] IWDTFAction2 *pAction
);
Parameters
[in] pAction
The action to remove from this collection.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The lifetime of IWDTFAction2 interface instances are tied to their creator. If you remove an item from a collection, the item is not destroyed.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdtf.h |