[ros-diffs] [greatlrd] 28689: implement GetDeviceGammaRamp

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Fri Aug 31 00:20:17 CEST 2007


Author: greatlrd
Date: Fri Aug 31 02:20:16 2007
New Revision: 28689

URL: http://svn.reactos.org/svn/reactos?rev=28689&view=rev
Log:
implement GetDeviceGammaRamp

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=28689&r1=28688&r2=28689&view=diff
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Fri Aug 31 02:20:16 2007
@@ -831,19 +831,29 @@
 }
 
 /*
- * @unimplemented
- */
-BOOL
-STDCALL
-GetDeviceGammaRamp(
-	HDC	a0,
-	LPVOID	a1
-	)
-{
-	UNIMPLEMENTED;
-	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-	return FALSE;
-}
+ * @implemented
+ */
+BOOL
+STDCALL
+GetDeviceGammaRamp( HDC hdc,
+                    LPVOID lpGammaRamp)
+{
+    BOOL retValue = FALSE;
+    if (lpGammaRamp == NULL)
+    {
+        SetLastError(ERROR_INVALID_PARAMETER);
+    }
+    else
+    {
+        retValue = NtGdiGetDeviceGammaRamp(hdc,lpGammaRamp);
+    }
+
+    return retValue;
+}
+
+
+    
+
 
 
 /*




More information about the Ros-diffs mailing list