L_LTAUT_API L_INT L_AutSetUndoEnabled (pAutomation, bEnabled);
Disables or re-enables the undo feature of the automation handle.
Pointer to an automation handle.
Flag that indicates whether to enable or disable the undo feature of the specified automation handle. By enabling or disabling the undo feature, the internal undo counter is incremented or decremented. Possible values are:
|TRUE||Enable the undo feature and increment the internal undo counter by one.|
|FALSE||Disable the undo feature and decrement the internal undo counter by one.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
This function sets an internal automation counter that determines whether the undo feature should be displayed. The undo feature is on only if this counter is greater than or equal to 0. The initial value is 0.
Required DLLs and Libraries