implement SetDeviceGammaRamp in gdi32 (leftdo check win32k if it implement or not)

svn path=/trunk/; revision=28776
This commit is contained in:
Magnus Olsen 2007-09-02 14:36:48 +00:00
parent 0d6c6a0913
commit f503e01b03

View file

@ -790,20 +790,26 @@ GetDeviceGammaRamp( HDC hdc,
/*
* @unimplemented
* @implemented
*/
BOOL
STDCALL
SetDeviceGammaRamp(
HDC a0,
LPVOID a1
)
SetDeviceGammaRamp(HDC hdc,
LPVOID lpGammaRamp)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
BOOL retValue = FALSE;
if (lpGammaRamp)
{
retValue = NtGdiSetDeviceGammaRamp(hdc, lpGammaRamp);
}
else
{
SetLastError(ERROR_INVALID_PARAMETER);
}
return retValue;
}