2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright 1994 Martin Ayotte
|
|
|
|
* Copyright 1996 Alex Korobka
|
|
|
|
* Copyright 1999 Noel Borthwick
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
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"
|
2000-09-27 00:20:14 +02:00
|
|
|
#include "wine/windef16.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 {
|
2000-12-11 02:09:56 +01:00
|
|
|
UINT wFormatID;
|
|
|
|
UINT wRefCount;
|
|
|
|
BOOL wDataPresent;
|
1998-12-07 10:13:40 +01:00
|
|
|
LPSTR Name;
|
1999-09-03 17:17:57 +02:00
|
|
|
HANDLE16 hData16;
|
1999-07-24 14:18:04 +02:00
|
|
|
HANDLE hDataSrc32;
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hData32;
|
1999-09-03 17:17:57 +02:00
|
|
|
ULONG drvData;
|
1999-02-26 12:11:13 +01:00
|
|
|
struct tagWINE_CLIPFORMAT *PrevFormat;
|
|
|
|
struct tagWINE_CLIPFORMAT *NextFormat;
|
|
|
|
} WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
|
1998-12-07 10:13:40 +01:00
|
|
|
|
1999-09-03 17:17:57 +02:00
|
|
|
extern LPWINE_CLIPFORMAT CLIPBOARD_LookupFormat( WORD wID );
|
|
|
|
extern BOOL CLIPBOARD_IsCacheRendered();
|
1999-02-26 12:11:13 +01:00
|
|
|
extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
|
1999-09-03 17:17:57 +02:00
|
|
|
extern void CLIPBOARD_EmptyCache( BOOL bChange );
|
1999-02-26 12:11:13 +01:00
|
|
|
extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
|
1999-09-03 17:17:57 +02:00
|
|
|
extern char * CLIPBOARD_GetFormatName(UINT wFormat);
|
|
|
|
extern void CLIPBOARD_ReleaseOwner();
|
|
|
|
|
1994-12-10 14:02:28 +01:00
|
|
|
#endif /* __WINE_CLIPBOARD_H */
|