PhClipboardHdr

Clipboard header structure

Synopsis:

typedef char PhClipType[8];

typedef struct {
    PhClipType      type;
    uint32_t        length;
    void            *data;
} PhClipboardHdr;

#define Ph_CLIPBOARD_TYPE_TEXT  "TEXT"

Description:

This data structure describes clipboard data. Its members include:

type
The type of data — an arbitrary 8-character string (e.g. TEXT or BMAP) that you can define for your application.
length
The length of the data (pointed to by data).
data
A pointer to the data itself (of length bytes).

Classification:

Photon

See also:

PhClipboardCopyString(), PhClipboardPasteString(), PhClipboardRead(), PhClipboardWrite()