mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
44a1b59cec
mode go through window manager, small bugfixes for menu and window code, extended clipboard driver model to handle formats other than text.
34 lines
852 B
C
34 lines
852 B
C
#ifndef __WINE_CLIPBOARD_H
|
|
#define __WINE_CLIPBOARD_H
|
|
|
|
#include "windef.h"
|
|
|
|
struct tagWND;
|
|
|
|
typedef struct tagWINE_CLIPFORMAT {
|
|
WORD wFormatID;
|
|
WORD wRefCount;
|
|
WORD wDataPresent;
|
|
LPSTR Name;
|
|
HANDLE hData32;
|
|
DWORD BufSize;
|
|
struct tagWINE_CLIPFORMAT *PrevFormat;
|
|
struct tagWINE_CLIPFORMAT *NextFormat;
|
|
HANDLE16 hData16;
|
|
} WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
|
|
|
|
typedef struct tagCLIPBOARD_DRIVER
|
|
{
|
|
void (*pEmpty)(void);
|
|
void (*pSetData)(UINT);
|
|
BOOL (*pGetData)(UINT);
|
|
void (*pResetOwner)(struct tagWND *, BOOL);
|
|
} CLIPBOARD_DRIVER;
|
|
|
|
extern CLIPBOARD_DRIVER *CLIPBOARD_Driver;
|
|
|
|
extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
|
|
extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
|
|
extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
|
|
|
|
#endif /* __WINE_CLIPBOARD_H */
|