mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
implement SetDeviceGammaRamp in gdi32 (leftdo check win32k if it implement or not)
svn path=/trunk/; revision=28776
This commit is contained in:
parent
0d6c6a0913
commit
f503e01b03
1 changed files with 15 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue