ReactOS 0.4.15-dev-5666-gc548b97
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
10typedef 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
17typedef struct tagDCE
18{
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
48void FASTCALL DceEmptyCache(void);
unsigned char BOOLEAN
Type
Definition: Type.h:7
LONG NTSTATUS
Definition: precomp.h:26
_Inout_ PVCB _In_ BOOLEAN Force
Definition: cdprocs.h:1417
DCE *FASTCALL DceGetDceFromDC(HDC hdc)
Definition: windc.c:53
HWND FASTCALL IntWindowFromDC(HDC hDc)
Definition: windc.c:894
struct tagDCE * PDCE
HWND FASTCALL UserGethWnd(HDC, PWNDOBJ *)
Definition: windc.c:953
void FASTCALL DceFreeClassDCE(PDCE)
Definition: windc.c:762
CODE_SEG("INIT") NTSTATUS NTAPI InitDCEImpl(VOID)
Definition: Interface.c:1810
VOID FASTCALL DceResetActiveDCEs(PWND Window)
Definition: windc.c:816
PDCE FASTCALL DceAllocDCE(PWND Window, DCE_TYPE Type)
Definition: windc.c:86
VOID FASTCALL DceUpdateVisRgn(DCE *Dce, PWND Window, ULONG Flags)
Definition: windc.c:192
void FASTCALL DceFreeDCE(PDCE dce, BOOLEAN Force)
Definition: windc.c:633
struct tagDCE DCE
void FASTCALL DceFreeThreadDCE(PTHREADINFO)
Definition: windc.c:780
void FASTCALL DceEmptyCache(void)
Definition: windc.c:801
enum DCE_TYPE * PDCE_TYPE
DCE_TYPE
Definition: dce.h:11
@ DCE_CLASS_DC
Definition: dce.h:13
@ DCE_WINDOW_DC
Definition: dce.h:14
@ DCE_CACHE_DC
Definition: dce.h:12
void FASTCALL DceFreeWindowDCE(PWND)
Definition: windc.c:686
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned int ULONG
Definition: retypes.h:1
HDC hdc
Definition: main.c:9
static HDC
Definition: imagelist.c:92
#define FASTCALL
Definition: nt_native.h:50
Definition: window.c:28
Definition: typedefs.h:120
Definition: ntuser.h:689
Definition: dce.h:18
HRGN hrgnClip
Definition: dce.h:25
LIST_ENTRY List
Definition: dce.h:19
DWORD DCXFlags
Definition: dce.h:28
struct _MONITOR * pMonitor
Definition: dce.h:31
HRGN hrgnClipPublic
Definition: dce.h:26
PWND pwndClip
Definition: dce.h:23
HDC hDC
Definition: dce.h:20
PWND pwndOrg
Definition: dce.h:22
HRGN hrgnSavedVis
Definition: dce.h:27
PPROCESSINFO ppiOwner
Definition: dce.h:30
PWND pwndRedirect
Definition: dce.h:24
PTHREADINFO ptiOwner
Definition: dce.h:29
HWND hwndCurrent
Definition: dce.h:21
#define NTAPI
Definition: typedefs.h:36
NTSTATUS NTAPI InitDCEImpl(VOID)
Definition: windc.c:30
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170