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…
==============================================================================
--- 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;
+}
+
+
+
+
/*