ReactOS  0.4.13-dev-79-gcd489d8
dce.h
Go to the documentation of this file.
1 #pragma once
2 
3 /* DC hook codes */
4 #define DCHC_INVALIDVISRGN 0x0001
5 #define DCHC_DELETEDC 0x0002
6 
7 #define DCHF_INVALIDATEVISRGN 0x0001
8 #define DCHF_VALIDATEVISRGN 0x0002
9 
10 typedef enum
11 {
12  DCE_CACHE_DC, /* This is a cached DC (allocated by USER) */
13  DCE_CLASS_DC, /* This is a class DC (style CS_CLASSDC) */
14  DCE_WINDOW_DC /* This is a window DC (style CS_OWNDC) */
16 
17 typedef struct tagDCE
18 {
25  HRGN hrgnClip;
31  struct _MONITOR* pMonitor;
32 } DCE, *PDCE;
33 
34 /* internal DCX flags, see psdk/winuser.h for the rest */
35 #define DCX_DCEEMPTY 0x00000800
36 #define DCX_DCEBUSY 0x00001000
37 #define DCX_DCEDIRTY 0x00002000
38 #define DCX_LAYEREDWIN 0x00004000
39 #define DCX_DCPOWNED 0x00008000
40 #define DCX_NOCLIPCHILDREN 0x00080000
41 #define DCX_NORECOMPUTE 0x00100000
42 #define DCX_INDESTROY 0x00400000
43 
44 INIT_FUNCTION NTSTATUS NTAPI InitDCEImpl(VOID);
48 void FASTCALL DceEmptyCache(void);
PWND pwndRedirect
Definition: dce.h:24
struct tagDCE * PDCE
PTHREADINFO ptiOwner
Definition: dce.h:29
Type
Definition: Type.h:6
void FASTCALL DceFreeDCE(PDCE dce, BOOLEAN Force)
Definition: windc.c:632
LONG NTSTATUS
Definition: precomp.h:26
static HDC
Definition: imagelist.c:92
HDC hDC
Definition: dce.h:20
#define FASTCALL
Definition: nt_native.h:50
HWND hwndCurrent
Definition: dce.h:21
PWND pwndClip
Definition: dce.h:23
PPROCESSINFO ppiOwner
Definition: dce.h:30
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
Definition: window.c:29
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
INIT_FUNCTION NTSTATUS NTAPI InitDCEImpl(VOID)
Definition: windc.c:30
DWORD DCXFlags
Definition: dce.h:28
HRGN hrgnClipPublic
Definition: dce.h:26
void FASTCALL DceFreeWindowDCE(PWND)
Definition: windc.c:685
void FASTCALL DceFreeThreadDCE(PTHREADINFO)
Definition: windc.c:779
unsigned char BOOLEAN
HWND FASTCALL IntWindowFromDC(HDC hDc)
Definition: windc.c:893
HRGN hrgnSavedVis
Definition: dce.h:27
HRGN hrgnClip
Definition: dce.h:25
enum DCE_TYPE * PDCE_TYPE
unsigned long DWORD
Definition: ntddk_ex.h:95
VOID FASTCALL DceUpdateVisRgn(DCE *Dce, PWND Window, ULONG Flags)
Definition: windc.c:191
struct tagDCE DCE
void FASTCALL DceEmptyCache(void)
Definition: windc.c:800
VOID FASTCALL DceResetActiveDCEs(PWND Window)
Definition: windc.c:815
HDC hdc
Definition: main.c:9
Definition: typedefs.h:117
HWND FASTCALL UserGethWnd(HDC, PWNDOBJ *)
Definition: windc.c:952
DCE_TYPE
Definition: dce.h:10
Definition: ntuser.h:657
struct _MONITOR * pMonitor
Definition: dce.h:31
DCE *FASTCALL DceGetDceFromDC(HDC hdc)
Definition: windc.c:52
Definition: dce.h:17
unsigned int ULONG
Definition: retypes.h:1
LIST_ENTRY List
Definition: dce.h:19
PWND pwndOrg
Definition: dce.h:22
PDCE FASTCALL DceAllocDCE(PWND Window, DCE_TYPE Type)
Definition: windc.c:85
void FASTCALL DceFreeClassDCE(PDCE)
Definition: windc.c:761
_Inout_ PVCB _In_ BOOLEAN Force
Definition: cdprocs.h:1425