# IRcSimpleNodeStateUndoRedoCmd Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | SetParameters (BSTR szNodeName, RtBYTE *szFun, VARIANT vParamUndo, VARIANT vParamRedo)

## Detailed Description

Helper command for undo/redo of simple node state changes that can be stored within variants.

Use in combination with SIMPLE_NODE_STATE_UNDO_REDO defined in ...h

## Member Function Documentation

HRESULT IRcSimpleNodeStateUndoRedoCmd::SetParameters | ( | BSTR | szNodeName,
|  | RtBYTE * | szFun,
|  | VARIANT | vParamUndo,
|  | VARIANT | vParamRedo |
| ) |  |  |

Set helper's parameters.

Parameters:

  | szNodeName | Graph path to node that implements IRsCustomEntry interface
  | szFun | Function name that handles undo/redo state changes
  | vParamUndo | State to be set on Undo
  | vParamRedo | State to be set on Redo