Commit 42851bd1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Use ntgdi names for GetDeviceGammaRamp and SetDeviceGammaRamp.

parent d3b9ff2e
......@@ -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 );
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment