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);