Release 990226.
[wine/gsoc-2012-control.git] / include / clipboard.h
blobf17b46718b0497bc6439f26320b7740b7002d8f5
1 #ifndef __WINE_CLIPBOARD_H
2 #define __WINE_CLIPBOARD_H
4 #include "win.h"
5 #include "wintypes.h"
7 typedef struct tagWINE_CLIPFORMAT {
8 WORD wFormatID;
9 WORD wRefCount;
10 WORD wDataPresent;
11 LPSTR Name;
12 HANDLE hData32;
13 DWORD BufSize;
14 struct tagWINE_CLIPFORMAT *PrevFormat;
15 struct tagWINE_CLIPFORMAT *NextFormat;
16 HANDLE16 hData16;
17 } WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
19 typedef struct _CLIPBOARD_DRIVER
21 void (*pEmptyClipboard)(void);
22 void (*pSetClipboardData)(UINT);
23 BOOL (*pRequestSelection)(void);
24 void (*pResetOwner)(WND *, BOOL);
25 } CLIPBOARD_DRIVER;
27 CLIPBOARD_DRIVER *CLIPBOARD_GetDriver(void);
29 extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
30 extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
31 extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
33 #endif /* __WINE_CLIPBOARD_H */