include: Added dwrite.idl file.

This commit is contained in:
Nikolay Sivov 2012-07-29 12:50:34 +04:00 committed by Alexandre Julliard
parent 65f4184936
commit 7ef5661d54
6 changed files with 1439 additions and 1 deletions

1
.gitignore vendored
View File

@ -172,6 +172,7 @@ include/dispex.h
include/docobj.h include/docobj.h
include/docobjectservice.h include/docobjectservice.h
include/downloadmgr.h include/downloadmgr.h
include/dwrite.h
include/dxgi.h include/dxgi.h
include/endpointvolume.h include/endpointvolume.h
include/exdisp.h include/exdisp.h

View File

@ -1 +1 @@
@ stub DWriteCreateFactory @ stdcall DWriteCreateFactory(long ptr ptr)

View File

@ -23,6 +23,12 @@
#include "windef.h" #include "windef.h"
#include "winbase.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) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
{ {
switch (reason) switch (reason)
@ -35,3 +41,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
} }
return TRUE; 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;
}

View File

@ -32,6 +32,7 @@ PUBLIC_IDL_H_SRCS = \
docobj.idl \ docobj.idl \
docobjectservice.idl \ docobjectservice.idl \
downloadmgr.idl \ downloadmgr.idl \
dwrite.idl \
dxgi.idl \ dxgi.idl \
endpointvolume.idl \ endpointvolume.idl \
exdisp.idl \ exdisp.idl \
@ -208,6 +209,7 @@ SRCDIR_INCLUDES = \
dbt.h \ dbt.h \
dciddi.h \ dciddi.h \
dciman.h \ dciman.h \
dcommon.h \
dde.h \ dde.h \
dde.rh \ dde.rh \
ddeml.h \ ddeml.h \

29
include/dcommon.h Normal file
View File

@ -0,0 +1,29 @@
/*
* 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 */

1394
include/dwrite.idl Normal file

File diff suppressed because it is too large Load Diff