Determines whether the Windows clipboard contains valid automation data that can be pasted using the L_AutPaste function.
#include "ltaut.h"
L_LTAUT_API L_INT L_AutClipboardDataReady(pAutomation, pfReady)
Pointer to an automation handle.
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. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
If the automation handle was created using AUTOMATION_MODE_VECTOR, then the clipboard contents should be a vector image.
For an example, refer to L_AutPaste.