Use the right buffer size in SYSPARAMS_Load instead of some random
[wine] / include / dciddi.h
1 /*
2  * DCI driver interface
3  *
4  * Copyright (C) 2001 Ove Kaaven
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #ifndef __WINE_DCIDDI_H
22 #define __WINE_DCIDDI_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 /* DCI Command Escape */
29 #define DCICOMMAND      3075
30 #define DCI_VERSION     0x0100
31
32 #define DCICREATEPRIMARYSURFACE         1
33 #define DCICREATEOFFSCREENSURFACE       2
34 #define DCICREATEOVERLAYSURFACE         3
35 #define DCIENUMSURFACE                  4
36 #define DCIESCAPE                       5
37
38 /* DCI Errors */
39 #define DCI_OK          0
40
41
42 typedef int DCIRVAL; /* DCI callback return type */
43
44 /*****************************************************************************
45  * Escape command structures
46  */
47 typedef struct _DCICMD {
48     DWORD dwCommand;
49     DWORD dwParam1;
50     DWORD dwParam2;
51     DWORD dwVersion;
52     DWORD dwReserved;
53 } DCICMD,*LPDCICMD;
54
55 #ifdef __cplusplus
56 } /* extern "C" */
57 #endif
58
59 #endif /* __WINE_DCIDDI_H */