uianimation: Add stub dll.

Based on a patch from Louis Lenders

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vijay Kiran Kamuju 2019-03-29 23:05:20 +01:00 committed by Alexandre Julliard
parent cc3820ca99
commit 9a562d963f
5 changed files with 57 additions and 0 deletions

2
configure vendored
View File

@ -1564,6 +1564,7 @@ enable_traffic
enable_twain_32
enable_tzres
enable_ucrtbase
enable_uianimation
enable_uiautomationcore
enable_uiribbon
enable_unicows
@ -19970,6 +19971,7 @@ wine_fn_config_makefile dlls/typelib.dll16 enable_win16
wine_fn_config_makefile dlls/tzres enable_tzres
wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
wine_fn_config_makefile dlls/uianimation enable_uianimation
wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
wine_fn_config_makefile dlls/uiribbon enable_uiribbon

View File

@ -3691,6 +3691,7 @@ WINE_CONFIG_MAKEFILE(dlls/typelib.dll16,enable_win16)
WINE_CONFIG_MAKEFILE(dlls/tzres)
WINE_CONFIG_MAKEFILE(dlls/ucrtbase)
WINE_CONFIG_MAKEFILE(dlls/ucrtbase/tests)
WINE_CONFIG_MAKEFILE(dlls/uianimation)
WINE_CONFIG_MAKEFILE(dlls/uiautomationcore)
WINE_CONFIG_MAKEFILE(dlls/uiautomationcore/tests)
WINE_CONFIG_MAKEFILE(dlls/uiribbon)

View File

@ -0,0 +1,4 @@
MODULE = uianimation.dll
C_SRCS = \
main.c

46
dlls/uianimation/main.c Normal file
View File

@ -0,0 +1,46 @@
/*
* Uianimation main file.
*
* Copyright (C) 2018 Louis Lenders
*
* 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 "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "uianimation.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(uianimation);
BOOL WINAPI DllMain( HINSTANCE dll, DWORD reason, LPVOID reserved )
{
TRACE("(%p %d %p)\n", dll, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( dll );
break;
}
return TRUE;
}

View File

@ -0,0 +1,4 @@
@ stub DllCanUnloadNow()
@ stub DllGetClassObject(ptr ptr ptr)
@ stub DllRegisterServer()
@ stub DllUnregisterServer()