Release gdi lock before calling DeleteDC.
[wine] / include / dciddi.h
1 /* DCI driver interface */
2
3 #ifndef __WINE_DCIDDI_H
4 #define __WINE_DCIDDI_H
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 /* DCI Command Escape */
11 #define DCICOMMAND      3075
12 #define DCI_VERSION     0x0100
13
14 #define DCICREATEPRIMARYSURFACE         1
15 #define DCICREATEOFFSCREENSURFACE       2
16 #define DCICREATEOVERLAYSURFACE         3
17 #define DCIENUMSURFACE                  4
18 #define DCIESCAPE                       5
19
20 /* DCI Errors */
21 #define DCI_OK          0
22
23
24 typedef int DCIRVAL; /* DCI callback return type */
25
26 /*****************************************************************************
27  * Escape command structures
28  */
29 typedef struct _DCICMD {
30     DWORD dwCommand;
31     DWORD dwParam1;
32     DWORD dwParam2;
33     DWORD dwVersion;
34     DWORD dwReserved;
35 } DCICMD,*LPDCICMD;
36
37 #ifdef __cplusplus
38 } /* extern "C" */
39 #endif
40
41 #endif /* __WINE_DCIDDI_H */