Release 940518
[wine.git] / include / dce.h
blobd95c7812e6a256905a895a7fb4d2e95a0047a69f
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 HANDLE DCE_AllocDCE( DCE_TYPE type );
33 extern void DCE_FreeDCE( HANDLE hdce );
35 #endif /* DCE_H */