- better support for ExecuteBuffers
[wine] / include / clipboard.h
1 #ifndef __WINE_CLIPBOARD_H
2 #define __WINE_CLIPBOARD_H
3
4 #include "win.h"
5 #include "wintypes.h"
6
7 typedef 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
19 typedef struct _CLIPBOARD_DRIVER
20 {
21     void (*pEmptyClipboard)();
22     void (*pSetClipboardData)(UINT32);
23     BOOL32 (*pRequestSelection)();
24     void (*pResetOwner)(WND *, BOOL32);
25 } CLIPBOARD_DRIVER;
26
27 CLIPBOARD_DRIVER *CLIPBOARD_GetDriver();
28
29 extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
30 extern void CLIPBOARD_DeleteRecord(LPCLIPFORMAT lpFormat, BOOL32 bChange);
31 extern BOOL32 CLIPBOARD_IsPresent(WORD wFormat);
32
33 #endif /* __WINE_CLIPBOARD_H */