Fix large item label calculation when not focused.
[wine.git] / include / clipboard.h
blob500b7e566b3de86c620db86e590d13d71b3cdce2
1 /*
2 * Copyright 1994 Martin Ayotte
3 * Copyright 1996 Alex Korobka
4 * Copyright 1999 Noel Borthwick
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_CLIPBOARD_H
22 #define __WINE_CLIPBOARD_H
24 #include "windef.h"
25 #include "wine/windef16.h"
27 struct tagWND;
29 typedef struct tagWINE_CLIPFORMAT {
30 UINT wFormatID;
31 UINT wRefCount;
32 BOOL wDataPresent;
33 LPSTR Name;
34 HANDLE16 hData16;
35 HANDLE hDataSrc32;
36 HANDLE hData32;
37 ULONG drvData;
38 struct tagWINE_CLIPFORMAT *PrevFormat;
39 struct tagWINE_CLIPFORMAT *NextFormat;
40 } WINE_CLIPFORMAT, *LPWINE_CLIPFORMAT;
42 extern LPWINE_CLIPFORMAT CLIPBOARD_LookupFormat( WORD wID );
43 extern BOOL CLIPBOARD_IsCacheRendered();
44 extern void CLIPBOARD_DeleteRecord(LPWINE_CLIPFORMAT lpFormat, BOOL bChange);
45 extern void CLIPBOARD_EmptyCache( BOOL bChange );
46 extern BOOL CLIPBOARD_IsPresent(WORD wFormat);
47 extern char * CLIPBOARD_GetFormatName(UINT wFormat, LPSTR buf, INT size);
48 extern void CLIPBOARD_ReleaseOwner();
50 #endif /* __WINE_CLIPBOARD_H */