Alexandre Julliard | 234bc24 | 1994-12-10 13:02:28 +0000 | [diff] [blame] | 1 | #ifndef __WINE_CLIPBOARD_H |
| 2 | #define __WINE_CLIPBOARD_H |
| 3 | |
Patrik Stridvall | e35d636 | 1998-12-07 09:13:40 +0000 | [diff] [blame] | 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 *); |
| 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); |
Alexandre Julliard | 234bc24 | 1994-12-10 13:02:28 +0000 | [diff] [blame] | 32 | |
| 33 | #endif /* __WINE_CLIPBOARD_H */ |