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:
parent
d3b9ff2efd
commit
42851bd13b
|
@ -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;
|
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( dc )
|
||||||
{
|
{
|
||||||
if (GetObjectType( hDC ) != OBJ_MEMDC)
|
if (GetObjectType( hdc ) != OBJ_MEMDC)
|
||||||
{
|
{
|
||||||
PHYSDEV physdev = GET_DC_PHYSDEV( dc, pGetDeviceGammaRamp );
|
PHYSDEV physdev = GET_DC_PHYSDEV( dc, pGetDeviceGammaRamp );
|
||||||
ret = physdev->funcs->pGetDeviceGammaRamp( physdev, ptr );
|
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;
|
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( dc )
|
||||||
{
|
{
|
||||||
if (GetObjectType( hDC ) != OBJ_MEMDC)
|
if (GetObjectType( hdc ) != OBJ_MEMDC)
|
||||||
{
|
{
|
||||||
PHYSDEV physdev = GET_DC_PHYSDEV( dc, pSetDeviceGammaRamp );
|
PHYSDEV physdev = GET_DC_PHYSDEV( dc, pSetDeviceGammaRamp );
|
||||||
|
|
||||||
|
|
|
@ -275,7 +275,7 @@
|
||||||
@ stdcall GetDIBColorTable(long long long ptr)
|
@ stdcall GetDIBColorTable(long long long ptr)
|
||||||
@ stdcall GetDIBits(long long long long ptr ptr long)
|
@ stdcall GetDIBits(long long long long ptr ptr long)
|
||||||
@ stdcall GetDeviceCaps(long long)
|
@ stdcall GetDeviceCaps(long long)
|
||||||
@ stdcall GetDeviceGammaRamp(long ptr)
|
@ stdcall GetDeviceGammaRamp(long ptr) NtGdiGetDeviceGammaRamp
|
||||||
@ stub GetETM
|
@ stub GetETM
|
||||||
# @ stub GetEUDCTimeStamp
|
# @ stub GetEUDCTimeStamp
|
||||||
# @ stub GetEUDCTimeStampExW
|
# @ stub GetEUDCTimeStampExW
|
||||||
|
@ -488,7 +488,7 @@
|
||||||
@ stdcall SetDIBColorTable(long long long ptr)
|
@ stdcall SetDIBColorTable(long long long ptr)
|
||||||
@ stdcall SetDIBits(long long long long ptr ptr long)
|
@ stdcall SetDIBits(long long long long ptr ptr long)
|
||||||
@ stdcall SetDIBitsToDevice(long long long long long 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)
|
@ stdcall SetEnhMetaFileBits(long ptr)
|
||||||
@ stub SetFontEnumeration
|
@ stub SetFontEnumeration
|
||||||
@ stdcall SetGraphicsMode(long long)
|
@ stdcall SetGraphicsMode(long long)
|
||||||
|
|
Loading…
Reference in New Issue