Commit 0990d37d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Forward CreateRenderingParams() to CreateMonitorRenderingParams() with primary monitor.

parent 7707ca7d
MODULE = dwrite.dll
IMPORTLIB = dwrite
IMPORTS = gdi32
IMPORTS = user32 gdi32
C_SRCS = \
font.c \
......
......@@ -24,6 +24,7 @@
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "initguid.h"
#include "dwrite.h"
......@@ -249,8 +250,14 @@ static HRESULT WINAPI dwritefactory_CreateFontFace(IDWriteFactory *iface,
static HRESULT WINAPI dwritefactory_CreateRenderingParams(IDWriteFactory *iface, IDWriteRenderingParams **params)
{
FIXME("(%p): stub\n", params);
return E_NOTIMPL;
HMONITOR monitor;
POINT pt;
TRACE("(%p)\n", params);
pt.x = pt.y = 0;
monitor = MonitorFromPoint(pt, MONITOR_DEFAULTTOPRIMARY);
return IDWriteFactory_CreateMonitorRenderingParams(iface, monitor, params);
}
static HRESULT WINAPI dwritefactory_CreateMonitorRenderingParams(IDWriteFactory *iface, HMONITOR monitor,
......
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