![]() |
![]() |
![]() |
Paste string-only data from the clipboard
char *PhClipboardPasteString( unsigned short ig );
This function is a simple cover function for pasting string-only data from the clipboard. The function calls PhClipboardPasteStart(), requests data of type TEXT using PhClipboardPasteType(), and finishes with PhClipboardPasteFinish().
This function allocates the resultant string with strdup(). Your application must free() this memory after use.
A pointer to the text string extracted from the clipboard, or NULL if there was no available data or an error occurred.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhClipboardCopy(), PhClipboardCopyString(), PhClipboardPasteFinish(), PhClipboardPasteStart(), PhClipboardPasteType(), PhClipboardPasteTypeN(), PhClipHeader
strdup(), free() in the QNX 4 C Library Reference
![]() |
![]() |
![]() |