Copy string-only data to the clipboard
int PhClipboardCopyString( unsigned short ig, const char *string );
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. The string must end with \0.
Each input group has its own private clipboard, which you can select through the ig parameter. You can determine the current input group as follows:
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhClipboardCopy(), PhClipboardPasteFinish(), PhClipboardPasteStart(), PhClipboardPasteString(), PhClipboardPasteType(), PhClipboardPasteTypeN(), PhClipHeader