#include "ltaut.h"
L_LTAUT_API L_INT L_AutCanUndo(pAutomation, pfCanUndo)
Indicates whether the last automation operation in the active automation container can be undone.
Pointer to an automation handle.
A pointer to a variable to be updated with a value that indicates whether an undo can be performed. Possible values are:
Value | Meaning |
---|---|
TRUE | The last automation operation can be undone. |
FALSE | The last automation operation cannot be undone. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To determine the current undo level call L_AutGetUndoLevel.
To change the undo level call L_AutSetUndoLevel.
To undo an automation operation, call L_AutUndo.
For information about grouping multiple operations into a single undo process, refer to L_AutAddUndoNode.
Required DLLs and Libraries