L_AutClipboardDataReady

#include "ltaut.h"

L_LTAUT_API L_INT L_AutClipboardDataReady(pAutomation, pfReady)

pAUTOMATIONHANDLE pAutomation;

/* pointer to an automation handle */

L_BOOL * pfReady;

/* pointer to an integer */

Determines whether the Windows clipboard contains valid automation data that can be pasted using the L_AutPaste function.

Parameter

Description

pAutomation

Pointer to an automation handle.

pfReady

A pointer to a variable to be updated with a value that indicates whether or not valid automation data exists on the clipboard. Possible values are:

 

Value

Meaning

 

TRUE

There is valid automation data on the clipboard.

 

FALSE

There is no valid automation data on the clipboard.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

If the automation handle was created using AUTOMATION_MODE_VECTOR, then the clipboard contents should be a vector image.

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_AutCut, L_AutCopy, L_AutPaste

Topics:

Editing Automation Containers

Example

For an example, refer to L_AutPaste.