diff --git a/reactos/subsystems/win32/win32k/include/intgdi.h b/reactos/subsystems/win32/win32k/include/intgdi.h index 83a5eecae75..22b9563cbe6 100644 --- a/reactos/subsystems/win32/win32k/include/intgdi.h +++ b/reactos/subsystems/win32/win32k/include/intgdi.h @@ -257,5 +257,7 @@ HDC STDCALL IntGdiGetDCState(HDC hDC); WORD STDCALL IntGdiSetHookFlags(HDC hDC, WORD Flags); +VOID STDCALL IntGdiSetDCState ( HDC hDC, HDC hDCSave ); + #endif /* _WIN32K_INTGDI_H */ diff --git a/reactos/subsystems/win32/win32k/ntuser/windc.c b/reactos/subsystems/win32/win32k/ntuser/windc.c index 25565b4ccde..bf1faeb7d17 100644 --- a/reactos/subsystems/win32/win32k/ntuser/windc.c +++ b/reactos/subsystems/win32/win32k/ntuser/windc.c @@ -251,7 +251,7 @@ DceReleaseDC(DCE* dce, BOOL EndPaint) else DC_SetOwnership( defaultDCstate, PsGetCurrentProcess()); - NtGdiSetDCState(dce->hDC, defaultDCstate); + IntGdiSetDCState(dce->hDC, defaultDCstate); DC_SetOwnership( defaultDCstate, NULL); // Return default dc state to inaccessible mode. dce->DCXFlags &= ~DCX_DCEBUSY; diff --git a/reactos/subsystems/win32/win32k/objects/dc.c b/reactos/subsystems/win32/win32k/objects/dc.c index 7e8d9b83078..edf623de0fa 100644 --- a/reactos/subsystems/win32/win32k/objects/dc.c +++ b/reactos/subsystems/win32/win32k/objects/dc.c @@ -1327,7 +1327,7 @@ IntGdiGetDCState(HDC hDC) VOID STDCALL -NtGdiSetDCState ( HDC hDC, HDC hDCSave ) +IntGdiSetDCState ( HDC hDC, HDC hDCSave ) { PDC dc, dcs; @@ -1840,7 +1840,7 @@ NtGdiRestoreDC(HDC hDC, INT SaveLevel) DC_UnlockDc( dc ); DC_UnlockDc( dcs ); - NtGdiSetDCState(hDC, hdcs); + IntGdiSetDCState(hDC, hdcs); if (!PATH_AssignGdiPath( &dc->w.path, &dcs->w.path )) {