diff --git a/dlls/dwrite/Makefile.in b/dlls/dwrite/Makefile.in index 1b68b2b914f..5a6564b101b 100644 --- a/dlls/dwrite/Makefile.in +++ b/dlls/dwrite/Makefile.in @@ -1,6 +1,6 @@ MODULE = dwrite.dll IMPORTLIB = dwrite -IMPORTS = gdi32 +IMPORTS = user32 gdi32 C_SRCS = \ font.c \ diff --git a/dlls/dwrite/main.c b/dlls/dwrite/main.c index 866fa88054a..c126ec108c9 100644 --- a/dlls/dwrite/main.c +++ b/dlls/dwrite/main.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,