gdi32: Use ntgdi names for GetDeviceGammaRamp and SetDeviceGammaRamp.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-08-02 10:03:17 +02:00 committed by Alexandre Julliard
parent d3b9ff2efd
commit 42851bd13b
2 changed files with 12 additions and 12 deletions

View File

@ -1081,17 +1081,17 @@ WORD WINAPI SetHookFlags( HDC hdc, WORD flags )
}
/***********************************************************************
* GetDeviceGammaRamp (GDI32.@)
* NtGdiGetDeviceGammaRamp (win32u.@)
*/
BOOL WINAPI GetDeviceGammaRamp(HDC hDC, LPVOID ptr)
BOOL WINAPI NtGdiGetDeviceGammaRamp( HDC hdc, void *ptr )
{
BOOL ret = FALSE;
DC *dc = get_dc_ptr( hDC );
DC *dc = get_dc_ptr( hdc );
TRACE("%p, %p\n", hDC, ptr);
TRACE("%p, %p\n", hdc, ptr);
if( dc )
{
if (GetObjectType( hDC ) != OBJ_MEMDC)
if (GetObjectType( hdc ) != OBJ_MEMDC)
{
PHYSDEV physdev = GET_DC_PHYSDEV( dc, pGetDeviceGammaRamp );
ret = physdev->funcs->pGetDeviceGammaRamp( physdev, ptr );
@ -1181,17 +1181,17 @@ static BOOL check_gamma_ramps(void *ptr)
}
/***********************************************************************
* SetDeviceGammaRamp (GDI32.@)
* NtGdiSetDeviceGammaRamp (win32u.@)
*/
BOOL WINAPI SetDeviceGammaRamp(HDC hDC, LPVOID ptr)
BOOL WINAPI NtGdiSetDeviceGammaRamp( HDC hdc, void *ptr )
{
BOOL ret = FALSE;
DC *dc = get_dc_ptr( hDC );
DC *dc = get_dc_ptr( hdc );
TRACE("%p, %p\n", hDC, ptr);
TRACE( "%p, %p\n", hdc, ptr );
if( dc )
{
if (GetObjectType( hDC ) != OBJ_MEMDC)
if (GetObjectType( hdc ) != OBJ_MEMDC)
{
PHYSDEV physdev = GET_DC_PHYSDEV( dc, pSetDeviceGammaRamp );

View File

@ -275,7 +275,7 @@
@ stdcall GetDIBColorTable(long long long ptr)
@ stdcall GetDIBits(long long long long ptr ptr long)
@ stdcall GetDeviceCaps(long long)
@ stdcall GetDeviceGammaRamp(long ptr)
@ stdcall GetDeviceGammaRamp(long ptr) NtGdiGetDeviceGammaRamp
@ stub GetETM
# @ stub GetEUDCTimeStamp
# @ stub GetEUDCTimeStampExW
@ -488,7 +488,7 @@
@ stdcall SetDIBColorTable(long long long ptr)
@ stdcall SetDIBits(long long long long ptr ptr long)
@ stdcall SetDIBitsToDevice(long long long long long long long long long ptr ptr long)
@ stdcall SetDeviceGammaRamp(long ptr)
@ stdcall SetDeviceGammaRamp(long ptr) NtGdiSetDeviceGammaRamp
@ stdcall SetEnhMetaFileBits(long ptr)
@ stub SetFontEnumeration
@ stdcall SetGraphicsMode(long long)