rename NtGdiGetDCState to IntGdiGetDCState
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 2 Aug 2007 00:10:15 +0000 (00:10 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 2 Aug 2007 00:10:15 +0000 (00:10 +0000)
svn path=/trunk/; revision=28086

reactos/subsystems/win32/win32k/include/intgdi.h
reactos/subsystems/win32/win32k/ntuser/windc.c
reactos/subsystems/win32/win32k/objects/dc.c

index 414d825..0db7257 100644 (file)
@@ -253,5 +253,7 @@ IntCreateCompatibleBitmap(PDC Dc,
                           INT Width,
                           INT Height);
 
+HDC STDCALL IntGdiGetDCState(HDC  hDC);
+
 #endif /* _WIN32K_INTGDI_H */
 
index b1f26d7..bb633ef 100644 (file)
@@ -130,7 +130,7 @@ DceAllocDCE(PWINDOW_OBJECT Window OPTIONAL, DCE_TYPE Type)
     if (NULL == defaultDCstate) // Ultra HAX! Dedicated to GvG!
       { // This is a cheesy way to do this. 
         // 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);
     }
     
index 5a1d94a..0f6eb5e 100644 (file)
@@ -1230,7 +1230,7 @@ NtGdiSetBkColor(HDC hDC, COLORREF color)
 }
 
 HDC STDCALL
-NtGdiGetDCState(HDC  hDC)
+IntGdiGetDCState(HDC  hDC)
 {
   PDC  newdc, dc;
   HDC hnewdc;
@@ -1874,7 +1874,7 @@ NtGdiSaveDC(HDC  hDC)
 
   DPRINT("NtGdiSaveDC(%lx)\n", hDC);
 
-  if (!(hdcs = NtGdiGetDCState(hDC)))
+  if (!(hdcs = IntGdiGetDCState(hDC)))
   {
     return 0;
   }