#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | DCX_LEAVEBITS |
Functions | |
__inline VOID | DecrementFreeDCECount (VOID) |
__inline VOID | IncrementFreeDCECount (VOID) |
void | SetMonitorRegion (PMONITOR pMonitor, HRGN hrgnDst, HRGN hrgnSrc) |
VOID | ResetOrg (HRGN hrgn, PDCE pdce, BOOL fSetVisRgn) |
HDC | _GetDC (PWND pwnd) |
BOOL | _ReleaseDC (HDC hdc) |
HDC | _GetWindowDC (PWND pwnd) |
VOID | UserSetDCVisRgn (PDCE pdce) |
HRGN | UserGetClientRgn (HWND hwnd, LPRECT lprc, BOOL bWindowInsteadOfClient) |
BOOL | UserGetHwnd (HDC hdc, HWND *phwnd, PVOID *ppwo, BOOL bCheckStyle) |
VOID | UserAssociateHwnd (HWND hwnd, PVOID pwo) |
BOOL | UserReleaseDC (HDC hdc) |
VOID | InvalidateDce (PDCE pdce) |
VOID | DeleteHrgnClip (PDCE pdce) |
HDC | _GetDCEx (PWND pwnd, HRGN hrgnClip, DWORD DCX_flags) |
UINT | ReleaseCacheDC (HDC hdc, BOOL fEndPaint) |
HDC | CreateCacheDC (PWND pwndOrg, DWORD DCX_flags, PMONITOR pMonitor) |
PWND | WindowFromCacheDC (HDC hdc) |
VOID | DelayedDestroyCacheDC (VOID) |
BOOL | DestroyCacheDC (PDCE *ppdce, HDC hdc) |
VOID | InvalidateGDIWindows (PWND pwnd) |
BOOL | zzzInvalidateDCCache (PWND pwndInvalid, DWORD flags) |
PWND | _WindowFromDC (HDC hdc) |
PWND | FastWindowFromDC (HDC hdc) |
BOOL | GetDCOrgOnScreen (HDC hdc, LPPOINT ppt) |
BOOL | UserGetRedirectedWindowOrigin (HDC hdc, LPPOINT ppt) |
PDCE | LookupDC (HDC hdc) |
HDC | GetMonitorDC (PDCE pdceOrig, PMONITOR pMonitor) |
|
Value:
Definition at line 2146 of file dc.c. Referenced by GetMonitorDC(). |
|
Definition at line 148 of file dc.c. References _GetDCEx(), NULL, tagDESKTOP::pDeskInfo, PtiCurrent, and tagDESKTOPINFO::spwnd. Referenced by NtUserGetDC(), UT_InvertCaret(), xxxDesktopWndProc(), xxxMNInvertItem(), and xxxRealizeDesktop().
|
|
Definition at line 608 of file dc.c. References _GetProp(), BOOL, CalcVisRgn(), CFCLASSDC, CFOWNDC, CFPARENTDC, CopyRgn, CreateCacheDC(), CreateEmptyRgn(), CreateEmptyRgnPublic(), tagDCE::DCX_flags, DecrementFreeDCECount(), DelayedDestroyCacheDC(), DeleteHrgnClip(), DWORD, FALSE, GetLayeredWindow(), GETPTI, ghrgnGDC, gpDispInfo, tagDCE::hdc, tagDISPLAYINFO::hDev, HRGN_FULL, HRGN_SPECIAL_LAST, tagDCE::hrgnClip, tagDCE::hrgnClipPublic, IntersectRgn, IsVisible(), NULL, tagWND::pcls, tagCLS::pdce, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, tagDCE::pMonitor, PpiCurrent, PROP_LAYER, PtiCurrent, tagDCE::ptiOwner, tagDCE::pwndClip, tagDCE::pwndOrg, tagWND::rcWindow, ResetOrg(), SetEmptyRgn(), SpbCheckDce(), tagWND::spwndParent, SubtractRgn, TestCF, TestWF, TRUE, UpdateLayeredSprite(), WFCLIPCHILDREN, WFCLIPSIBLINGS, WFMINIMIZED, WFVISIBLE, and WFWIN31COMPAT. Referenced by _GetDC(), _GetWindowDC(), _UserSoundSentryWorker(), DrawSwitchWndHilite(), GetTooltipDC(), MNDrawArrow(), MNDrawFullNC(), NtUserGetDCEx(), StopFade(), UserGetDesktopDC(), xxxBeginPaint(), xxxDefWindowProc(), xxxDrawAnimatedRects(), xxxDrawDragRect(), xxxDrawMenuBarUnderlines(), xxxDWP_DoNCActivate(), xxxHotTrackMenu(), xxxMenuWindowProc(), xxxMNCompute(), xxxMoveSwitchWndHilite(), xxxPaintIconsInSwitchWindow(), xxxPaintSwitchWindow(), xxxRedrawHungWindow(), xxxRedrawHungWindowFrame(), xxxScrollWindowEx(), xxxSendEraseBkgnd(), and xxxTrackCaptionButton().
|
|
Definition at line 201 of file dc.c. References _GetDCEx(), NULL, TestWF, WFMINIMIZED, and WFWIN40COMPAT. Referenced by _UserSoundSentryWorker(), DrawCtlThumb(), InvertScrollHilite(), NtUserGetWindowDC(), xxxDrawThumb(), xxxEnableWndSBArrows(), xxxMNInvertItem(), xxxMoveThumb(), xxxRedrawTitle(), xxxSBWndProc(), xxxSnapWindow(), and zzzDrawInvertScrollArea().
|
|
|
Definition at line 1995 of file dc.c. References tagDCE::DCX_flags, gpDispInfo, tagDCE::hdc, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, and tagDCE::pwndOrg. Referenced by xxxAnimateCaption().
|
|
Definition at line 1463 of file dc.c. References AnySpbs, CFCLASSDC, DCE, tagDCE::DCX_flags, FALSE, gpDispInfo, tagDCE::hdc, tagDISPLAYINFO::hDev, tagMONITOR::hDev, tagDCE::hrgnClip, tagDCE::hrgnClipPublic, tagDCE::hrgnSavedVis, IncrementFreeDCECount(), InvalidateDce(), NULL, tagWND::pcls, tagCLS::pdce, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, tagDCE::pMonitor, PtiCurrent, tagDCE::ptiOwner, tagDCE::pwndClip, tagDCE::pwndOrg, and TestCF. Referenced by _GetDCEx(), GetMonitorDC(), InitUserScreen(), and xxxCreateWindowEx().
|
|
Definition at line 30 of file dc.c. References gnDCECount, and VOID(). Referenced by _GetDCEx(), DestroyCacheDC(), and GetMonitorDC().
|
|
Definition at line 1596 of file dc.c. References tagDCE::DCX_flags, DestroyCacheDC(), gpDispInfo, tagDCE::hdc, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, PpiCurrent, and VOID(). Referenced by _GetDCEx(), CleanupGDI(), and DestroyProcessInfo().
|
|
Definition at line 549 of file dc.c. References tagDCE::DCX_flags, DeleteMaybeSpecialRgn(), tagDCE::hdc, tagDCE::hrgnClip, tagDCE::hrgnClipPublic, tagDCE::hrgnSavedVis, InvalidateDce(), NULL, and VOID(). Referenced by _GetDCEx(), ReleaseCacheDC(), and xxxFreeWindow().
|
|
Definition at line 1638 of file dc.c. References BOOL, tagDCE::DCX_flags, DecrementFreeDCECount(), DeleteMaybeSpecialRgn(), FALSE, gpDispInfo, tagDCE::hdc, tagDCE::hrgnClip, tagDCE::hrgnClipPublic, tagDCE::hrgnSavedVis, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, PpiCurrent, tagDCE::pwndClip, tagDCE::pwndOrg, and TRUE. Referenced by DelayedDestroyCacheDC(), DestroyCacheDCEntries(), DestroyClass(), DestroyMonitorDCs(), ReleaseCacheDC(), xxxFreeWindow(), and xxxUserProcessCallout().
|
|
Definition at line 2022 of file dc.c. References tagDCE::DCX_flags, gpDispInfo, tagDCE::hdc, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, and tagDCE::pwndOrg. Referenced by _ScrollDC().
|
|
Definition at line 2066 of file dc.c. References BOOL, FALSE, TRUE, and UserGetRedirectedWindowOrigin(). Referenced by InternalScrollDC(), and xxxScrollWindowEx().
|
|
Definition at line 2151 of file dc.c. References CreateCacheDC(), CreateEmptyRgn(), tagDCE::DCX_flags, DCX_LEAVEBITS, DecrementFreeDCECount(), ghrgnGDC, gpDispInfo, tagDCE::hdc, HRGN_FULL, tagDCE::hrgnClip, NULL, OffsetRect(), tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, tagDCE::pMonitor, tagDCE::ptiOwner, tagDCE::pwndClip, tagDCE::pwndOrg, tagMONITOR::rcMonitor, SetMonitorRegion(), and SpbCheckDce(). Referenced by xxxEnumDisplayMonitors().
|
|
Definition at line 41 of file dc.c. References gnDCECount, and VOID(). Referenced by CreateCacheDC(), and ReleaseCacheDC().
|
|
Definition at line 470 of file dc.c. References CFPARENTDC, tagDCE::DCX_flags, gpDispInfo, tagDCE::hdc, tagDISPLAYINFO::hDev, tagDCE::hrgnClip, tagDCE::hrgnClipPublic, MarkDCEInvalid(), NULL, tagDCE::pwndClip, tagDCE::pwndOrg, SpbCheckDce(), TestCF, TestWF, UserSetDCVisRgn(), VOID(), WFCLIPCHILDREN, WFCLIPSIBLINGS, WFMINIMIZED, WFVISIBLE, and WFWIN31COMPAT. Referenced by ConvertRedirectionDCs(), CreateCacheDC(), DeleteHrgnClip(), and zzzInvalidateDCCache().
|
|
Definition at line 1746 of file dc.c. References _GetProp(), CalcVisRgn(), NULL, PROP_WNDOBJ, tagWND::rcClient, tagWND::spwndChild, tagWND::spwndNext, TestWF, TRUE, VOID(), and WFCLIPSIBLINGS. Referenced by zzzInvalidateDCCache().
|
|
Definition at line 2123 of file dc.c. References tagDCE::DCX_flags, gpDispInfo, tagDCE::hdc, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, and tagDCE::pMonitor. Referenced by UserGetRedirectedWindowOrigin(), and xxxEnumDisplayMonitors().
|
|
Definition at line 1337 of file dc.c. References DCE_FREED, DCE_NORELEASE, DCE_RELEASED, DCE_SIZE_CACHETHRESHOLD, tagDCE::DCX_flags, DeleteHrgnClip(), DestroyCacheDC(), FALSE, gnDCECount, gpDispInfo, tagDCE::hdc, tagDISPLAYINFO::hDev, IncrementFreeDCECount(), NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, tagDCE::ptiOwner, UINT, and UpdateLayeredSprite(). Referenced by _ReleaseDC(), xxxEndPaint(), xxxEnumDisplayMonitors(), xxxFreeWindow(), and xxxSendEraseBkgnd().
|
|
Definition at line 73 of file dc.c. References tagDCE::DCX_flags, FNID_DESKTOP, GETFNID, GetLayeredWindow(), tagDCE::hdc, NULL, OffsetRect(), tagDCE::pMonitor, tagDCE::pwndOrg, tagWND::rcClient, tagMONITOR::rcMonitor, tagWND::rcWindow, SetMonitorRegion(), SYSMET, and VOID(). Referenced by _GetDCEx(), and UserSetDCVisRgn().
|
|
Definition at line 53 of file dc.c. References tagMONITOR::hrgnMonitor, IntersectRgn, and tagMONITOR::rcMonitor. Referenced by GetMonitorDC(), and ResetOrg().
|
|
Definition at line 415 of file dc.c. References CheckCritIn, gcountPWO, InternalRemoveProp(), InternalSetProp(), NULL, PROP_WNDOBJ, PROPF_INTERNAL, PROPF_NOPOOL, TRUE, ValidateHwnd, and VOID().
|
|
Definition at line 290 of file dc.c. References CalcVisRgn(), CheckCritIn, NULL, tagWND::rcClient, TestWF, ValidateHwnd, and WFCLIPSIBLINGS.
|
|
Definition at line 344 of file dc.c. References _GetProp(), BOOL, CFPARENTDC, CheckCritIn, FALSE, gpDispInfo, tagDCE::hdc, HW, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, PROP_WNDOBJ, tagDCE::pwndOrg, TestCF, TestWF, TRUE, WFCLIPCHILDREN, and WFCLIPSIBLINGS.
|
|
Definition at line 2096 of file dc.c. References BOOL, tagDCE::DCX_flags, FALSE, GetLayeredWindow(), LookupDC(), NULL, tagDCE::pwndOrg, tagWND::rcWindow, and TRUE. Referenced by GetDCOrgOnScreen().
|
|
Definition at line 447 of file dc.c. References _ReleaseDC(), BOOL, EnterCrit, and LeaveCrit.
|
|
Definition at line 237 of file dc.c. References CalcVisRgn(), tagDCE::DCX_flags, HRGN_FULL, tagDCE::hrgnClipPublic, IntersectRgn, NULL, tagDCE::pwndClip, tagDCE::pwndOrg, ResetOrg(), SetEmptyRgn(), SubtractRgn, TRUE, and VOID(). Referenced by InvalidateDce().
|
|
Definition at line 1574 of file dc.c. References tagDCE::DCX_flags, gpDispInfo, tagDCE::hdc, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, and tagDCE::pwndOrg. Referenced by _SelectPalette(), and xxxRealizePalette().
|
|
Definition at line 1812 of file dc.c. References BOOL, tagDCE::DCX_flags, gcountPWO, gpDispInfo, tagDISPLAYINFO::hDev, IDC_CHILDRENONLY, IDC_CLIENTONLY, IDC_DEFAULT, IDC_MOVEBLT, IDC_NOMOUSE, InvalidateDce(), InvalidateGDIWindows(), IsGlobalHooked, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, PtiCurrent, tagDCE::pwndClip, PWNDDESKTOP, tagDCE::pwndOrg, tagWND::spwndParent, TestWF, ThreadLockAlwaysWithPti, ThreadUnlock, tagTHREADINFO::TIF_flags, TIF_MOVESIZETRACKING, TRUE, WFCLIPCHILDREN, WFCLIPSIBLINGS, WFMINIMIZED, WHF_FROM_WH, and zzzSetFMouseMoved(). Referenced by LockWindowUpdate2(), ResetSharedDesktops(), UnsetLayeredWindow(), xxxDWP_SetRedraw(), xxxMinimizeHungWindow(), xxxScrollWindowEx(), xxxSetLayeredWindow(), xxxSetParent(), xxxSetWindowStyle(), and zzzBltValidBits().
|