1994-12-10 13:02:28 +00:00
|
|
|
#ifndef __WINE_CLIPBOARD_H
|
|
|
|
#define __WINE_CLIPBOARD_H
|
|
|
|
|
1999-03-14 16:35:05 +00:00
|
|
|
#include "windef.h"
|
1998-12-07 09:13:40 +00:00
|
|
|
|
1999-04-01 08:16:08 +00:00
|
|
|
struct tagWND;
|
|
|
|
|
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
|
|
|
|
1999-04-01 08:16:08 +00:00
|
|
|
typedef struct tagCLIPBOARD_DRIVER
|
1998-12-07 09:13:40 +00:00
|
|
|
{
|
1999-04-01 12:03:52 +00:00
|
|
|
void (*pEmpty)(void);
|
|
|
|
void (*pSetData)(UINT);
|
|
|
|
BOOL (*pGetData)(UINT);
|
1999-04-01 08:16:08 +00:00
|
|
|
void (*pResetOwner)(struct tagWND *, BOOL);
|
1998-12-07 09:13:40 +00:00
|
|
|
} CLIPBOARD_DRIVER;
|
|
|
|
|
1999-04-01 08:16:08 +00:00
|
|
|
extern CLIPBOARD_DRIVER *CLIPBOARD_Driver;
|
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 */
|