1994-12-10 13:02:28 +00:00
|
|
|
#ifndef __WINE_CLIPBOARD_H
|
|
|
|
#define __WINE_CLIPBOARD_H
|
|
|
|
|
1998-12-07 09:13:40 +00:00
|
|
|
#include "win.h"
|
1999-03-14 16:35:05 +00:00
|
|
|
#include "windef.h"
|
1998-12-07 09:13:40 +00:00
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
typedef struct tagWINE_CLIPFORMAT {
|
1998-12-07 09:13:40 +00:00
|
|
|
WORD wFormatID;
|
|
|
|
WORD wRefCount;
|
|
|
|
WORD wDataPresent;
|
|
|
|
LPSTR Name;
|
1999-02-26 11:11:13 +00:00
|
|
|
HANDLE hData32;
|
1998-12-07 09:13:40 +00:00
|
|
|
DWORD BufSize;
|
1999-02-26 11:11:13 +00:00
|
|
|
struct tagWINE_CLIPFORMAT *PrevFormat;
|
|
|
|
struct tagWINE_CLIPFORMAT *NextFormat;
|
1998-12-07 09:13:40 +00:00
|
|
|
HANDLE16 hData16;
|
1999-02-26 11:11:13 +00:00
|
|
|
} WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
|
1998-12-07 09:13:40 +00:00
|
|
|
|
|
|
|
typedef struct _CLIPBOARD_DRIVER
|
|
|
|
{
|
1999-02-14 13:38:27 +00:00
|
|
|
void (*pEmptyClipboard)(void);
|
1999-02-26 11:11:13 +00:00
|
|
|
void (*pSetClipboardData)(UINT);
|
|
|
|
BOOL (*pRequestSelection)(void);
|
|
|
|
void (*pResetOwner)(WND *, BOOL);
|
1998-12-07 09:13:40 +00:00
|
|
|
} CLIPBOARD_DRIVER;
|
|
|
|
|
1999-02-14 13:38:27 +00:00
|
|
|
CLIPBOARD_DRIVER *CLIPBOARD_GetDriver(void);
|
1998-12-07 09:13:40 +00:00
|
|
|
|
|
|
|
extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
|
1999-02-26 11:11:13 +00:00
|
|
|
extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
|
|
|
|
extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
|
1994-12-10 13:02:28 +00:00
|
|
|
|
|
|
|
#endif /* __WINE_CLIPBOARD_H */
|