[ros-diffs] [fireball] 48769: - Fix GetTextExtentExPointI and GetTextExtentPointI prototypes to match Platform SDK.

fireball at svn.reactos.org fireball at svn.reactos.org
Mon Sep 13 20:45:46 UTC 2010


Author: fireball
Date: Mon Sep 13 20:45:45 2010
New Revision: 48769

URL: http://svn.reactos.org/svn/reactos?rev=48769&view=rev
Log:
- Fix GetTextExtentExPointI and GetTextExtentPointI prototypes to match Platform SDK.

Modified:
    branches/arwinss/reactos/dll/win32/gdi32/font.c

Modified: branches/arwinss/reactos/dll/win32/gdi32/font.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/gdi32/font.c?rev=48769&r1=48768&r2=48769&view=diff
==============================================================================
--- branches/arwinss/reactos/dll/win32/gdi32/font.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/dll/win32/gdi32/font.c [iso-8859-1] Mon Sep 13 20:45:45 2010
@@ -969,7 +969,7 @@
  *    Success: TRUE
  *    Failure: FALSE
  */
-BOOL WINAPI GetTextExtentExPointI( HDC hdc, const WORD *indices, INT count, INT max_ext,
+BOOL WINAPI GetTextExtentExPointI( HDC hdc, LPWORD indices, int count, int max_ext,
                                    LPINT nfit, LPINT dxs, LPSIZE size )
 {
     BOOL ret = FALSE;
@@ -1010,7 +1010,7 @@
  *    Success: TRUE
  *    Failure: FALSE
  */
-BOOL WINAPI GetTextExtentPointI( HDC hdc, const WORD *indices, INT count, LPSIZE size )
+BOOL WINAPI GetTextExtentPointI( HDC hdc, LPWORD indices, int count, LPSIZE size )
 {
     return GetTextExtentExPointI( hdc, indices, count, 0, NULL, NULL, size );
 }




More information about the Ros-diffs mailing list