[Previous]
[Bookset]
[Next]

PhClipboardCopyString()

Copy string-only data to the clipboard

Synopsis:

int PhClipboardCopyString( unsigned short ig, 
                           const char *string );

Description:

This function is a simple cover function for copying string-only data to the clipboard. It builds a PhClipHeader entry:

{ "TEXT", strlen(string), string }

and then calls PhClipboardCopy() to perform the operation.

Returns:

0
Successful completion.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhClipboardCopy(), PhClipboardPasteFinish(), PhClipboardPasteStart(), PhClipboardPasteString(), PhClipboardPasteType(), PhClipboardPasteTypeN(), PhClipHeader


[Previous]
[Bookset]
[Next]