L_AutCanUndo

#include "ltaut.h"

L_LTAUT_API L_INT L_AutCanUndo(pAutomation, pfCanUndo)

pAUTOMATIONHANDLE pAutomation ;

/* pointer to an automation handle */

L_BOOL * pfCanUndo ;

/* pointer to an integer */

Determines whether or not the last automation operation in the active automation container can be undone.

Parameter

Description

pAutomation

Pointer to an automation handle.

pfCanUndo

A pointer to a variable to be updated with a value that indicates whether or not 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.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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

LTAUT

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

L_AutUndo, L_AutGetUndoLevel, L_AutSetUndoLevel

Topics:

Undoing and Redoing Automation Operations

Example

For an example, refer to L_AutUndo.