Name
PeekClipboard -- examine clipboard contents (V11.0)
Synopsis
int error = PeekClipboard(int *type, struct hwTagList *tags);
Function
This function must examine the clipboard contents and return the type of the clipboard contents in the type pointer. The type pointer must be set to one of these special constants:

HWCLIPBOARDTYPE_NONE
The clipboard is empty.

HWCLIPBOARDTYPE_TEXT
The clipboard contains text.

HWCLIPBOARDTYPE_IMAGE
The clipboard contains an image.

HWCLIPBOARDTYPE_SOUND
The clipboard contains audio data.

HWCLIPBOARDTYPE_UNKNOWN
There is unknown data in the clipboard.

Inputs
type
type of data in the clipboard; this must be set by your implementation
tags
reserved for future use, always NULL currently
Results
error
error code or 0 for success

Show TOC