[ros-diffs] [tkreuzer] 28086: rename NtGdiGetDCState to IntGdiGetDCState

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Thu Aug 2 02:10:15 CEST 2007


Author: tkreuzer
Date: Thu Aug  2 04:10:15 2007
New Revision: 28086

URL: http://svn.reactos.org/svn/reactos?rev=28086&view=rev
Log:
rename NtGdiGetDCState to IntGdiGetDCState

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

Modified: trunk/reactos/subsystems/win32/win32k/include/intgdi.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/intgdi.h?rev=28086&r1=28085&r2=28086&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/intgdi.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/intgdi.h Thu Aug  2 04:10:15 2007
@@ -253,5 +253,7 @@
                           INT Width,
                           INT Height);
 
+HDC STDCALL IntGdiGetDCState(HDC  hDC);
+
 #endif /* _WIN32K_INTGDI_H */
 

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/windc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/windc.c?rev=28086&r1=28085&r2=28086&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/windc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/windc.c Thu Aug  2 04:10:15 2007
@@ -130,7 +130,7 @@
     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);
     }
     

Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dc.c?rev=28086&r1=28085&r2=28086&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dc.c Thu Aug  2 04:10:15 2007
@@ -1230,7 +1230,7 @@
 }
 
 HDC STDCALL
-NtGdiGetDCState(HDC  hDC)
+IntGdiGetDCState(HDC  hDC)
 {
   PDC  newdc, dc;
   HDC hnewdc;
@@ -1874,7 +1874,7 @@
 
   DPRINT("NtGdiSaveDC(%lx)\n", hDC);
 
-  if (!(hdcs = NtGdiGetDCState(hDC)))
+  if (!(hdcs = IntGdiGetDCState(hDC)))
   {
     return 0;
   }




More information about the Ros-diffs mailing list