- Update Gdi GetFontLanguageInfo.
authorJames Tabor <james.tabor@reactos.org>
Thu, 30 Oct 2008 10:48:49 +0000 (10:48 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 30 Oct 2008 10:48:49 +0000 (10:48 +0000)
svn path=/trunk/; revision=37092

reactos/dll/win32/gdi32/misc/stubs.c
reactos/dll/win32/gdi32/objects/font.c

index 3d2f844..fd2ec1f 100644 (file)
@@ -173,21 +173,6 @@ GetMetaFileBitsEx(
        return 0;
 }
 
-
-/*
- * @unimplemented
- */
-DWORD
-STDCALL
-GetFontLanguageInfo(
-       HDC     hDc
-       )
-{
-       UNIMPLEMENTED;
-       SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-       return 0;
-}
-
 /*
  * @unimplemented
  */
index faf7489..42dc263 100644 (file)
@@ -904,6 +904,18 @@ GetCharWidthI(HDC hdc,
                (PVOID) lpBuffer );
 }
 
+/*
+ * @implemented
+ */
+DWORD
+STDCALL
+GetFontLanguageInfo(
+       HDC     hDc
+       )
+{
+  return GetDCDWord(hDc, GdiGetFontLanguageInfo, GCP_ERROR); 
+}
+
 /*
  * @implemented
  */