mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +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
|
BOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
SetDeviceGammaRamp(
|
SetDeviceGammaRamp(HDC hdc,
|
||||||
HDC a0,
|
LPVOID lpGammaRamp)
|
||||||
LPVOID a1
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
BOOL retValue = FALSE;
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
||||||
return FALSE;
|
if (lpGammaRamp)
|
||||||
|
{
|
||||||
|
retValue = NtGdiSetDeviceGammaRamp(hdc, lpGammaRamp);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
|
}
|
||||||
|
|
||||||
|
return retValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue