Use the service thread for comm notifications.
[wine] / include / clipboard.h
1 #ifndef __WINE_CLIPBOARD_H
2 #define __WINE_CLIPBOARD_H
3
4 #include "windef.h"
5
6 struct tagWND;
7
8 typedef struct tagWINE_CLIPFORMAT {
9     WORD        wFormatID;
10     WORD        wRefCount;
11     WORD        wDataPresent;
12     LPSTR       Name;
13     HANDLE      hDataSrc32;
14     HANDLE      hData32;
15     DWORD       BufSize;
16     struct tagWINE_CLIPFORMAT *PrevFormat;
17     struct tagWINE_CLIPFORMAT *NextFormat;
18     HANDLE16    hData16;
19 } WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
20
21 typedef struct tagCLIPBOARD_DRIVER
22 {
23     void (*pEmpty)(void);
24     void (*pSetData)(UINT);
25     BOOL (*pGetData)(UINT);
26     void (*pResetOwner)(struct tagWND *, BOOL);
27 } CLIPBOARD_DRIVER;
28
29 extern CLIPBOARD_DRIVER *CLIPBOARD_Driver;
30
31 extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
32 extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
33 extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
34
35 #endif /* __WINE_CLIPBOARD_H */