blob: 4bda6641b6c93940880600812504e5de8495a2dc [file] [log] [blame]
Alexandre Julliard234bc241994-12-10 13:02:28 +00001#ifndef __WINE_CLIPBOARD_H
2#define __WINE_CLIPBOARD_H
3
Patrik Stridvalle35d6361998-12-07 09:13:40 +00004#include "win.h"
5#include "wintypes.h"
6
7typedef struct tagCLIPFORMAT {
8 WORD wFormatID;
9 WORD wRefCount;
10 WORD wDataPresent;
11 LPSTR Name;
12 HANDLE32 hData32;
13 DWORD BufSize;
14 struct tagCLIPFORMAT *PrevFormat;
15 struct tagCLIPFORMAT *NextFormat;
16 HANDLE16 hData16;
17} CLIPFORMAT, *LPCLIPFORMAT;
18
19typedef struct _CLIPBOARD_DRIVER
20{
21 void (*pEmptyClipboard)();
22 void (*pSetClipboardData)(UINT32);
23 BOOL32 (*pRequestSelection)();
24 void (*pResetOwner)(WND *);
25} CLIPBOARD_DRIVER;
26
27CLIPBOARD_DRIVER *CLIPBOARD_GetDriver();
28
29extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
30extern void CLIPBOARD_DeleteRecord(LPCLIPFORMAT lpFormat, BOOL32 bChange);
31extern BOOL32 CLIPBOARD_IsPresent(WORD wFormat);
Alexandre Julliard234bc241994-12-10 13:02:28 +000032
33#endif /* __WINE_CLIPBOARD_H */