Admin Production ni-theme
Current Publication

ClipboardPutText

LabWindows/CVI

ClipboardPutText

int ClipboardPutText (char text[]);

Purpose

Copies a NULL terminated text string onto the system clipboard.

(Linux) This function affects only the internal LabWindows/CVI clipboard, not the host system clipboard.

Parameters

Input
Name Type Description
text char [] Null-terminated string to copy onto the system clipboard.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Example

Refer to userint\clipbord.cws for an example of using the ClipboardPutText function.