2002-03-09 23:29:33 +00: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 13:02:28 +00:00
|
|
|
#ifndef __WINE_CLIPBOARD_H
|
|
|
|
#define __WINE_CLIPBOARD_H
|
|
|
|
|
1999-03-14 16:35:05 +00:00
|
|
|
#include "windef.h"
|
2000-09-26 22:20:14 +00:00
|
|
|
#include "wine/windef16.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 {
|
2000-12-11 01:09:56 +00:00
|
|
|
UINT wFormatID;
|
|
|
|
UINT wRefCount;
|
|
|
|
BOOL wDataPresent;
|
1998-12-07 09:13:40 +00:00
|
|
|
LPSTR Name;
|
1999-09-03 15:17:57 +00:00
|
|
|
HANDLE16 hData16;
|
1999-07-24 12:18:04 +00:00
|
|
|
HANDLE hDataSrc32;
|
1999-02-26 11:11:13 +00:00
|
|
|
HANDLE hData32;
|
1999-09-03 15:17:57 +00:00
|
|
|
ULONG drvData;
|
1999-02-26 11:11:13 +00:00
|
|
|
struct tagWINE_CLIPFORMAT *PrevFormat;
|
|
|
|
struct tagWINE_CLIPFORMAT *NextFormat;
|
|
|
|
} WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
|
1998-12-07 09:13:40 +00:00
|
|
|
|
1999-09-03 15:17:57 +00:00
|
|
|
extern LPWINE_CLIPFORMAT CLIPBOARD_LookupFormat( WORD wID );
|
|
|
|
extern BOOL CLIPBOARD_IsCacheRendered();
|
1999-02-26 11:11:13 +00:00
|
|
|
extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
|
1999-09-03 15:17:57 +00:00
|
|
|
extern void CLIPBOARD_EmptyCache( BOOL bChange );
|
1999-02-26 11:11:13 +00:00
|
|
|
extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
|
1999-09-03 15:17:57 +00:00
|
|
|
extern char * CLIPBOARD_GetFormatName(UINT wFormat);
|
|
|
|
extern void CLIPBOARD_ReleaseOwner();
|
|
|
|
|
1994-12-10 13:02:28 +00:00
|
|
|
#endif /* __WINE_CLIPBOARD_H */
|