Lines Matching refs:pPasteboard
74 int queryNewPasteboardFormats(PasteboardRef pPasteboard, uint32_t *pfFormats, bool *pfChanged)
83 syncFlags = PasteboardSynchronize(pPasteboard);
93 err = PasteboardGetItemCount(pPasteboard, &itemCount);
100 if (!(err = PasteboardGetItemIdentifier(pPasteboard, 1, &itemID)))
105 if (!(err = PasteboardCopyItemFlavors(pPasteboard, itemID, &flavorTypeArray)))
147 int readFromPasteboard(PasteboardRef pPasteboard, uint32_t fFormat, void *pv, uint32_t cb, uint32_t *pcbActual)
154 PasteboardSynchronize(pPasteboard);
158 err = PasteboardGetItemCount(pPasteboard, &itemCount);
165 if (!(err = PasteboardGetItemIdentifier(pPasteboard, 1, &itemID)))
173 if (!(err = PasteboardCopyItemFlavorData(pPasteboard, itemID, kUTTypeUTF16PlainText, &outData)))
185 if (!(err = PasteboardCopyItemFlavorData(pPasteboard, itemID, kUTTypeUTF8PlainText, &outData)))
235 if (!(err = PasteboardCopyItemFlavorData(pPasteboard, itemID, kUTTypeBMP, &outData)))
283 int writeToPasteboard(PasteboardRef pPasteboard, void *pv, uint32_t cb, uint32_t fFormat)
288 if (PasteboardClear(pPasteboard))
292 PasteboardSynchronize(pPasteboard);
338 PasteboardPutItemFlavor(pPasteboard, itemId,
352 PasteboardPutItemFlavor(pPasteboard, itemId,
380 PasteboardPutItemFlavor(pPasteboard, itemId,