From 9574b5dbe14245fa8dbe7d7f43b29dfbbf064e0b Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 2 Aug 2007 00:16:31 +0000 Subject: [PATCH] rename NtGdiSetHookFlags into IntGdiSetHookFlags svn path=/trunk/; revision=28087 --- reactos/subsystems/win32/win32k/include/intgdi.h | 2 ++ reactos/subsystems/win32/win32k/ntuser/windc.c | 2 +- reactos/subsystems/win32/win32k/objects/dc.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/include/intgdi.h b/reactos/subsystems/win32/win32k/include/intgdi.h index 0db72572b77..83a5eecae75 100644 --- a/reactos/subsystems/win32/win32k/include/intgdi.h +++ b/reactos/subsystems/win32/win32k/include/intgdi.h @@ -255,5 +255,7 @@ IntCreateCompatibleBitmap(PDC Dc, HDC STDCALL IntGdiGetDCState(HDC hDC); +WORD STDCALL IntGdiSetHookFlags(HDC hDC, WORD Flags); + #endif /* _WIN32K_INTGDI_H */ diff --git a/reactos/subsystems/win32/win32k/ntuser/windc.c b/reactos/subsystems/win32/win32k/ntuser/windc.c index bb633efdb2f..25565b4ccde 100644 --- a/reactos/subsystems/win32/win32k/ntuser/windc.c +++ b/reactos/subsystems/win32/win32k/ntuser/windc.c @@ -244,7 +244,7 @@ DceReleaseDC(DCE* dce, BOOL EndPaint) if (dce->DCXFlags & DCX_CACHE) { /* make the DC clean so that SetDCState doesn't try to update the vis rgn */ - NtGdiSetHookFlags(dce->hDC, DCHF_VALIDATEVISRGN); + IntGdiSetHookFlags(dce->hDC, DCHF_VALIDATEVISRGN); if( dce->pProcess ) // Attempt to fix Dc_Attr problem. DC_SetOwnership( defaultDCstate, dce->pProcess); diff --git a/reactos/subsystems/win32/win32k/objects/dc.c b/reactos/subsystems/win32/win32k/objects/dc.c index 0f6eb5ef7c2..7e8d9b83078 100644 --- a/reactos/subsystems/win32/win32k/objects/dc.c +++ b/reactos/subsystems/win32/win32k/objects/dc.c @@ -2067,7 +2067,7 @@ NtGdiSelectObject(HDC hDC, HGDIOBJ hGDIObj) } WORD STDCALL -NtGdiSetHookFlags(HDC hDC, WORD Flags) +IntGdiSetHookFlags(HDC hDC, WORD Flags) { WORD wRet; DC *dc = DC_LockDc(hDC);