Fix large item label calculation when not focused.
[wine.git] / include / dciddi.h
blobc5708e26880a6e22dbdf7b0e2e50d293c410168e
1 /*
2 * DCI driver interface
4 * Copyright (C) 2001 Ove Kaaven
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_DCIDDI_H
22 #define __WINE_DCIDDI_H
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 /* DCI Command Escape */
29 #define DCICOMMAND 3075
30 #define DCI_VERSION 0x0100
32 #define DCICREATEPRIMARYSURFACE 1
33 #define DCICREATEOFFSCREENSURFACE 2
34 #define DCICREATEOVERLAYSURFACE 3
35 #define DCIENUMSURFACE 4
36 #define DCIESCAPE 5
38 /* DCI Errors */
39 #define DCI_OK 0
42 typedef int DCIRVAL; /* DCI callback return type */
44 /*****************************************************************************
45 * Escape command structures
47 typedef struct _DCICMD {
48 DWORD dwCommand;
49 DWORD dwParam1;
50 DWORD dwParam2;
51 DWORD dwVersion;
52 DWORD dwReserved;
53 } DCICMD,*LPDCICMD;
55 #ifdef __cplusplus
56 } /* extern "C" */
57 #endif
59 #endif /* __WINE_DCIDDI_H */