Commit 1d9f57bb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gdi32: Use NtGdiSetMetaRgn for SetMetaRgn.

parent 24a22a51
......@@ -526,9 +526,9 @@ INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, INT iCode)
/***********************************************************************
* SetMetaRgn (GDI32.@)
* NtGdiSetMetaRgn (win32u.@)
*/
INT WINAPI SetMetaRgn( HDC hdc )
INT WINAPI NtGdiSetMetaRgn( HDC hdc )
{
INT ret;
RECT dummy;
......
......@@ -1114,6 +1114,18 @@ INT WINAPI SelectClipRgn( HDC hdc, HRGN hrgn )
}
/***********************************************************************
* SetMetaRgn (GDI32.@)
*/
INT WINAPI SetMetaRgn( HDC hdc )
{
DC_ATTR *dc_attr;
if (!(dc_attr = get_dc_attr( hdc ))) return FALSE;
if (dc_attr->emf) FIXME( "EMFs are not yet supported\n" );
return NtGdiSetMetaRgn( hdc );
}
/***********************************************************************
* GdiSetPixelFormat (GDI32.@)
*/
BOOL WINAPI GdiSetPixelFormat( HDC hdc, INT format, const PIXELFORMATDESCRIPTOR *descr )
......
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