# CopyToClipboard

The FSF.CopyToClipboard function copies a text string to the Windows clipboard.

    int WINAPI CopyToClipboard(
      const char *Data
    );

### Parameters

Data
Pointer to the string that you want to place into the clipboard.

### Return value

On success the return value is TRUE, otherwise the return value is FALSE.

### Remarks

See FAQ:"There are dupes in the Clipboard..."

### Example