Reimplemented winsock asynchronous DNS services. No longer use a
[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      hData32;
14     DWORD       BufSize;
15     struct tagWINE_CLIPFORMAT *PrevFormat;
16     struct tagWINE_CLIPFORMAT *NextFormat;
17     HANDLE16    hData16;
18 } WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
19
20 typedef struct tagCLIPBOARD_DRIVER
21 {
22     void (*pEmpty)(void);
23     void (*pSetData)(UINT);
24     BOOL (*pGetData)(UINT);
25     void (*pResetOwner)(struct tagWND *, BOOL);
26 } CLIPBOARD_DRIVER;
27
28 extern CLIPBOARD_DRIVER *CLIPBOARD_Driver;
29
30 extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
31 extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
32 extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
33
34 #endif /* __WINE_CLIPBOARD_H */