Commit 7ef5661d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Added dwrite.idl file.

parent 65f41849
......@@ -172,6 +172,7 @@ include/dispex.h
include/docobj.h
include/docobjectservice.h
include/downloadmgr.h
include/dwrite.h
include/dxgi.h
include/endpointvolume.h
include/exdisp.h
......
@ stub DWriteCreateFactory
@ stdcall DWriteCreateFactory(long ptr ptr)
......@@ -23,6 +23,12 @@
#include "windef.h"
#include "winbase.h"
#include "dwrite.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dwrite);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
{
switch (reason)
......@@ -35,3 +41,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
}
return TRUE;
}
HRESULT WINAPI DWriteCreateFactory(DWRITE_FACTORY_TYPE type, REFIID riid, IUnknown **factory)
{
FIXME("(%d, %s, %p): stub\n", type, debugstr_guid(riid), factory);
return E_NOTIMPL;
}
......@@ -32,6 +32,7 @@ PUBLIC_IDL_H_SRCS = \
docobj.idl \
docobjectservice.idl \
downloadmgr.idl \
dwrite.idl \
dxgi.idl \
endpointvolume.idl \
exdisp.idl \
......@@ -208,6 +209,7 @@ SRCDIR_INCLUDES = \
dbt.h \
dciddi.h \
dciman.h \
dcommon.h \
dde.h \
dde.rh \
ddeml.h \
......
/*
* Copyright 2012 Nikolay Sivov for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_DCOMMON_H
#define __WINE_DCOMMON_H
typedef enum DWRITE_MEASURING_MODE
{
DWRITE_MEASURING_MODE_NATURAL,
DWRITE_MEASURING_MODE_GDI_CLASSIC,
DWRITE_MEASURING_MODE_GDI_NATURAL
} DWRITE_MEASURING_MODE;
#endif /* __WINE_DCOMMON_H */
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