Release 960225
[wine.git] / include / dce.h
blobe38c194f26014417c2d358f71383d2976db2aee0
1 /*
2 * USER DCE definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef DCE_H
8 #define DCE_H
10 #include "windows.h"
12 typedef enum
14 DCE_CACHE_DC, /* This is a cached DC (allocated by USER) */
15 DCE_CLASS_DC, /* This is a class DC (style CS_CLASSDC) */
16 DCE_WINDOW_DC /* This is a window DC (style CS_OWNDC) */
17 } DCE_TYPE;
20 typedef struct tagDCE
22 HANDLE hNext;
23 HWND hwndCurrent;
24 HDC hdc;
25 DCE_TYPE type;
26 BOOL inUse;
27 WORD xOrigin;
28 WORD yOrigin;
29 } DCE;
32 extern void DCE_Init(void);
33 extern HANDLE DCE_AllocDCE( DCE_TYPE type );
34 extern void DCE_FreeDCE( HANDLE hdce );
36 #endif /* DCE_H */