[ros-diffs] [greatlrd] 28768: implement RemoveFontMemResourceEx (left todo fix it in win32k)

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sun Sep 2 14:18:34 CEST 2007


Author: greatlrd
Date: Sun Sep  2 16:18:34 2007
New Revision: 28768

URL: http://svn.reactos.org/svn/reactos?rev=28768&view=rev
Log:
implement RemoveFontMemResourceEx (left todo fix it in win32k)

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=28768&r1=28767&r2=28768&view=diff
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sun Sep  2 16:18:34 2007
@@ -1621,17 +1621,23 @@
 }
 
 /*
- * @unimplemented
+ * @implemented
  */
 BOOL 
 STDCALL
-RemoveFontMemResourceEx(
-	HANDLE fh
-)
-{
-	UNIMPLEMENTED;
-	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-	return 0;
+RemoveFontMemResourceEx(HANDLE fh)
+{
+    BOOL retValue=0;
+
+    if (fh)
+    {
+        retValue = NtGdiRemoveFontMemResourceEx(fh);
+    }
+    else
+    {
+        SetLastError(ERROR_INVALID_PARAMETER);
+    }
+    return retValue;
 }
 
 /*




More information about the Ros-diffs mailing list