Optimized include/*.h: (recursively) include all headers needed by
[wine/wine64.git] / include / dce.h
blob506bfedacf29a57c522e6ba6c0df715b8dc630da
1 /*
2 * USER DCE definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef __WINE_DCE_H
8 #define __WINE_DCE_H
10 #include "win.h"
12 /* additional DCX flags
15 #define DCX_NORESETATTR 0x00000004
16 #define DCX_EXCLUDEUPDATE 0x00000100
17 #define DCX_INTERSECTUPDATE 0x00000200
18 #define DCX_LOCKWINDOWUPDATE 0x00000400
19 #define DCX_NORECOMPUTE 0x00100000
20 #define DCX_VALIDATE 0x00200000
22 #define DCX_DCEEMPTY 0x00000800
23 #define DCX_DCEBUSY 0x00001000
24 #define DCX_DCEDIRTY 0x00002000
25 #define DCX_WINDOWPAINT 0x00020000
26 #define DCX_KEEPCLIPRGN 0x00040000
27 #define DCX_NOCLIPCHILDREN 0x00080000
29 typedef enum
31 DCE_CACHE_DC, /* This is a cached DC (allocated by USER) */
32 DCE_CLASS_DC, /* This is a class DC (style CS_CLASSDC) */
33 DCE_WINDOW_DC /* This is a window DC (style CS_OWNDC) */
34 } DCE_TYPE;
37 typedef struct tagDCE
39 struct tagDCE *next;
40 HDC32 hDC;
41 HWND32 hwndCurrent;
42 HWND32 hwndDC;
43 HRGN32 hClipRgn;
44 DCE_TYPE type;
45 DWORD DCXflags;
46 } DCE;
49 extern void DCE_Init(void);
50 extern DCE* DCE_AllocDCE( HWND32 hWnd, DCE_TYPE type );
51 extern DCE* DCE_FreeDCE( DCE *dce );
52 extern void DCE_FreeWindowDCE( WND* );
53 extern INT16 DCE_ExcludeRgn( HDC32, WND*, HRGN32 );
54 extern HRGN32 DCE_GetVisRgn( HWND32, WORD );
55 extern BOOL32 DCE_InvalidateDCE( WND*, const RECT32* );
57 #endif /* __WINE_DCE_H */