mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 09:20:30 +00:00
rename NtGdiGetDCState to IntGdiGetDCState
svn path=/trunk/; revision=28086
This commit is contained in:
parent
1ef29d0d83
commit
bedc89bb5f
3 changed files with 5 additions and 3 deletions
|
@ -253,5 +253,7 @@ IntCreateCompatibleBitmap(PDC Dc,
|
||||||
INT Width,
|
INT Width,
|
||||||
INT Height);
|
INT Height);
|
||||||
|
|
||||||
|
HDC STDCALL IntGdiGetDCState(HDC hDC);
|
||||||
|
|
||||||
#endif /* _WIN32K_INTGDI_H */
|
#endif /* _WIN32K_INTGDI_H */
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@ DceAllocDCE(PWINDOW_OBJECT Window OPTIONAL, DCE_TYPE Type)
|
||||||
if (NULL == defaultDCstate) // Ultra HAX! Dedicated to GvG!
|
if (NULL == defaultDCstate) // Ultra HAX! Dedicated to GvG!
|
||||||
{ // This is a cheesy way to do this.
|
{ // This is a cheesy way to do this.
|
||||||
// But, due to the right way of creating gdi handles there is no choice.
|
// But, due to the right way of creating gdi handles there is no choice.
|
||||||
defaultDCstate = NtGdiGetDCState(pDce->hDC);
|
defaultDCstate = IntGdiGetDCState(pDce->hDC);
|
||||||
DC_SetOwnership( defaultDCstate, NULL);
|
DC_SetOwnership( defaultDCstate, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1230,7 +1230,7 @@ NtGdiSetBkColor(HDC hDC, COLORREF color)
|
||||||
}
|
}
|
||||||
|
|
||||||
HDC STDCALL
|
HDC STDCALL
|
||||||
NtGdiGetDCState(HDC hDC)
|
IntGdiGetDCState(HDC hDC)
|
||||||
{
|
{
|
||||||
PDC newdc, dc;
|
PDC newdc, dc;
|
||||||
HDC hnewdc;
|
HDC hnewdc;
|
||||||
|
@ -1874,7 +1874,7 @@ NtGdiSaveDC(HDC hDC)
|
||||||
|
|
||||||
DPRINT("NtGdiSaveDC(%lx)\n", hDC);
|
DPRINT("NtGdiSaveDC(%lx)\n", hDC);
|
||||||
|
|
||||||
if (!(hdcs = NtGdiGetDCState(hDC)))
|
if (!(hdcs = IntGdiGetDCState(hDC)))
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue