dwrite: Added initial stub.

This commit is contained in:
Nikolay Sivov 2012-07-24 14:05:18 +04:00 committed by Alexandre Julliard
parent bb254fce23
commit 3a724d58eb
5 changed files with 46 additions and 0 deletions

1
configure vendored
View File

@ -15209,6 +15209,7 @@ wine_fn_config_dll dssenh enable_dssenh
wine_fn_config_test dlls/dssenh/tests dssenh_test wine_fn_config_test dlls/dssenh/tests dssenh_test
wine_fn_config_dll dswave enable_dswave wine_fn_config_dll dswave enable_dswave
wine_fn_config_dll dwmapi enable_dwmapi implib wine_fn_config_dll dwmapi enable_dwmapi implib
wine_fn_config_dll dwrite enable_dwrite
wine_fn_config_dll dxdiagn enable_dxdiagn po wine_fn_config_dll dxdiagn enable_dxdiagn po
wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
wine_fn_config_lib dxerr8 wine_fn_config_lib dxerr8

View File

@ -2614,6 +2614,7 @@ WINE_CONFIG_DLL(dssenh)
WINE_CONFIG_TEST(dlls/dssenh/tests) WINE_CONFIG_TEST(dlls/dssenh/tests)
WINE_CONFIG_DLL(dswave) WINE_CONFIG_DLL(dswave)
WINE_CONFIG_DLL(dwmapi,,[implib]) WINE_CONFIG_DLL(dwmapi,,[implib])
WINE_CONFIG_DLL(dwrite)
WINE_CONFIG_DLL(dxdiagn,,[po]) WINE_CONFIG_DLL(dxdiagn,,[po])
WINE_CONFIG_TEST(dlls/dxdiagn/tests) WINE_CONFIG_TEST(dlls/dxdiagn/tests)
WINE_CONFIG_LIB(dxerr8) WINE_CONFIG_LIB(dxerr8)

6
dlls/dwrite/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = dwrite.dll
C_SRCS = \
main.c
@MAKE_DLL_RULES@

1
dlls/dwrite/dwrite.spec Normal file
View File

@ -0,0 +1 @@
@ stub DWriteCreateFactory

37
dlls/dwrite/main.c Normal file
View File

@ -0,0 +1,37 @@
/*
* DWrite
*
* 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
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinstDLL );
break;
}
return TRUE;
}