[ros-diffs] [greatlrd] 28729: implement GetTextExtentExPointI

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sat Sep 1 01:56:12 CEST 2007


Author: greatlrd
Date: Sat Sep  1 03:56:11 2007
New Revision: 28729

URL: http://svn.reactos.org/svn/reactos?rev=28729&view=rev
Log:
implement GetTextExtentExPointI

Modified:
    trunk/reactos/dll/win32/gdi32/misc/stubs.c

Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs.c?rev=28729&r1=28728&r2=28729&view=diff
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sat Sep  1 03:56:11 2007
@@ -1745,23 +1745,19 @@
 }
 
 /*
- * @unimplemented
+ * @implemented
  */
 BOOL 
 STDCALL
-GetTextExtentExPointI(
-	HDC hdc,
-	LPWORD pgiIn,
-	int cgi,
-	int nMaxExtent,
-	LPINT lpnFit,
-	LPINT alpDx,
-	LPSIZE lpSize
-)
-{
-	UNIMPLEMENTED;
-	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-	return 0;
+GetTextExtentExPointI(HDC hdc,
+                      LPWORD pgiIn,
+                      int cgi,
+                      int nMaxExtent,
+                      LPINT lpnFit,
+                      LPINT alpDx,
+                      LPSIZE lpSize)
+{
+    return NtGdiGetTextExtentExW(hdc,pgiIn,cgi,nMaxExtent,(ULONG *)lpnFit, (PULONG) alpDx,lpSize,1);
 }
 
 /*




More information about the Ros-diffs mailing list