Author: jimtabor
Date: Fri Dec 28 23:06:09 2007
New Revision: 31480
URL:
http://svn.reactos.org/svn/reactos?rev=31480&view=rev
Log:
Implement GetETM.
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…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Fri Dec 28 23:06:09 2007
@@ -1582,19 +1582,20 @@
return 0;
}
-
-
-/*
- * @unimplemented
+/*
+ * @implemented
*/
BOOL
STDCALL
GetETM(HDC hdc,
EXTTEXTMETRIC *petm)
{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ BOOL Ret = NtGdiGetETM(hdc, petm);
+ if ( Ret )
+ {
+ if ( petm ) petm->emKernPairs = GetKerningPairsA(hdc, 0, 0);
+ }
+ return Ret;
}
/*