[Previous] [Contents] [Index] [Next]

PhClipboardCopy()

Copy data to the clipboard

Synopsis:

int PhClipboardCopy( unsigned short ig, 
                     int n,
                     PhClipHeader const clip[] );

Library:

ph

Description:

This function copies data to the clipboard. Each input group has its own private clipboard, which can be selected through the ig parameter. To determine the current input group, call PhInputGroup(), passing to it the event that triggered the clipboard operation (e.g. cbinfo->event).

Multiple representations of the data may be placed on the clipboard. The number of different types is specified with the n parameter. Each type has a header structure in the clip array. For more information, see PhClipHeader.

Returns:

0
Successful completion.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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


[Previous] [Contents] [Index] [Next]