1994-12-10 14:02:28 +01:00
|
|
|
#ifndef __WINE_CLIPBOARD_H
|
|
|
|
#define __WINE_CLIPBOARD_H
|
|
|
|
|
1999-03-14 17:35:05 +01:00
|
|
|
#include "windef.h"
|
1998-12-07 10:13:40 +01:00
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
struct tagWND;
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
typedef struct tagWINE_CLIPFORMAT {
|
1998-12-07 10:13:40 +01:00
|
|
|
WORD wFormatID;
|
|
|
|
WORD wRefCount;
|
|
|
|
WORD wDataPresent;
|
|
|
|
LPSTR Name;
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hData32;
|
1998-12-07 10:13:40 +01:00
|
|
|
DWORD BufSize;
|
1999-02-26 12:11:13 +01:00
|
|
|
struct tagWINE_CLIPFORMAT *PrevFormat;
|
|
|
|
struct tagWINE_CLIPFORMAT *NextFormat;
|
1998-12-07 10:13:40 +01:00
|
|
|
HANDLE16 hData16;
|
1999-02-26 12:11:13 +01:00
|
|
|
} WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
|
1998-12-07 10:13:40 +01:00
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
typedef struct tagCLIPBOARD_DRIVER
|
1998-12-07 10:13:40 +01:00
|
|
|
{
|
1999-04-01 14:03:52 +02:00
|
|
|
void (*pEmpty)(void);
|
|
|
|
void (*pSetData)(UINT);
|
|
|
|
BOOL (*pGetData)(UINT);
|
1999-04-01 10:16:08 +02:00
|
|
|
void (*pResetOwner)(struct tagWND *, BOOL);
|
1998-12-07 10:13:40 +01:00
|
|
|
} CLIPBOARD_DRIVER;
|
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
extern CLIPBOARD_DRIVER *CLIPBOARD_Driver;
|
1998-12-07 10:13:40 +01:00
|
|
|
|
|
|
|
extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
|
1999-02-26 12:11:13 +01:00
|
|
|
extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
|
|
|
|
extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
|
1994-12-10 14:02:28 +01:00
|
|
|
|
|
|
|
#endif /* __WINE_CLIPBOARD_H */
|