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

PhClipHeader

Clipboard header structure

Synopsis:

typedef char PhClipType[8];

typedef struct {
    PhClipType      type;
    unsigned short  length;
    void            *data;
} PhClipHeader;

#define Ph_CLIPBOARD_TYPE_TEXT  "TEXT"
#define Ph_CLIPBOARD_MAX_TYPES  5

Description:

This data structure describes clipboard data. Its members include:

type
The type of data - an 8-char string (e.g. TEXT or BMAP).
length
The length of the data (pointed to by data).
data
A pointer to the data itself (of length bytes).

Classification:

Photon

See also:

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


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