Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FifteenWindows/OS Functions (continued)

ClipboardSetData Function

Overview

The ClipboardSetData sets data as a specified format onto the Windows clipboard via a Clipboard Object.

Syntax/Parameters

Syntax

int = ClipboardSetData ( handle hClipboard, dword format, var data | handle hObject );

Parameters

hClipboard

A handle to a Clipboard Object.

format

A dword specifying a defined clipboard format.

data

A variable of any type. See Remarks below, or,

hObject

A handle to a String Pool or Data Object containing the data to place on the clipboard.

Return Value

Returns an int value as ERROR_NONE or a formatted error code.

Remarks

The ClipboardSetData function places data on the clipboard using a specified format designator. The format can be one of the built in Windows API formats, a defacto standard or a format as created by the ClipboardRegisterFormat function.

The Clipboard Object must first be created using the ClipboardCreate function. Multiple formats can be posted to the clipboard.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic