gdi32: Introduce NtGdiSelectFont.

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-07-02 12:38:52 +02:00 committed by Alexandre Julliard
parent 966663a1d2
commit aeb8c22f76
1 changed files with 11 additions and 2 deletions

View File

@ -4534,9 +4534,9 @@ static void update_font_code_page( DC *dc, HANDLE font )
}
/***********************************************************************
* FONT_SelectObject
* NtGdiSelectFont (win32u.@)
*/
static HGDIOBJ FONT_SelectObject( HGDIOBJ handle, HDC hdc )
HGDIOBJ WINAPI NtGdiSelectFont( HDC hdc, HGDIOBJ handle )
{
HGDIOBJ ret = 0;
DC *dc = get_dc_ptr( hdc );
@ -4569,6 +4569,15 @@ static HGDIOBJ FONT_SelectObject( HGDIOBJ handle, HDC hdc )
}
/***********************************************************************
* FONT_SelectObject
*/
static HGDIOBJ FONT_SelectObject( HGDIOBJ handle, HDC hdc )
{
return NtGdiSelectFont( hdc, handle );
}
/***********************************************************************
* FONT_GetObjectA
*/