Author: jimtabor
Date: Tue Nov 6 10:27:55 2007
New Revision: 30213
URL:
http://svn.reactos.org/svn/reactos?rev=30213&view=rev
Log:
Implement GetCharABCWidthsI in gdi.
Modified:
trunk/reactos/dll/win32/gdi32/misc/stubs.c
trunk/reactos/dll/win32/gdi32/objects/font.c
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Tue Nov 6 10:27:55 2007
@@ -1545,23 +1545,6 @@
DWORD
STDCALL
GetBrushAttributes(HBRUSH hbr)
-{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
-}
-
-/*
- * @unimplemented
- */
-BOOL
-STDCALL
-GetCharABCWidthsI(HDC hdc,
- UINT giFirst,
- UINT cgi,
- LPWORD pgi,
- LPABC lpabc
-)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
Modified: trunk/reactos/dll/win32/gdi32/objects/font.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/fo…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/font.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/font.c Tue Nov 6 10:27:55 2007
@@ -639,6 +639,21 @@
/*
* @implemented
*/
+BOOL
+STDCALL
+GetCharABCWidthsI(HDC hdc,
+ UINT giFirst,
+ UINT cgi,
+ LPWORD pgi,
+ LPABC lpabc
+)
+{
+ return NtGdiGetCharABCWidthsW( hdc, giFirst, (ULONG) cgi, (PWCHAR) pgi, 3,
(PVOID)lpabc);
+}
+
+/*
+ * @implemented
+ */
DWORD
STDCALL
GetGlyphIndicesA(