taskschd: Add new dll.

This commit is contained in:
Dmitry Timoshkov 2013-12-23 16:37:49 +09:00 committed by Alexandre Julliard
parent fe57612c1c
commit 73edf08041
5 changed files with 62 additions and 0 deletions

2
configure vendored
View File

@ -1190,6 +1190,7 @@ enable_svrapi
enable_sxs
enable_t2embed
enable_tapi32
enable_taskschd
enable_traffic
enable_twain_32
enable_unicows
@ -17236,6 +17237,7 @@ wine_fn_config_test dlls/sxs/tests sxs_test
wine_fn_config_dll system.drv16 enable_win16
wine_fn_config_dll t2embed enable_t2embed
wine_fn_config_dll tapi32 enable_tapi32 implib
wine_fn_config_dll taskschd enable_taskschd
wine_fn_config_dll toolhelp.dll16 enable_win16
wine_fn_config_dll traffic enable_traffic
wine_fn_config_dll twain.dll16 enable_win16

View File

@ -3192,6 +3192,7 @@ WINE_CONFIG_TEST(dlls/sxs/tests)
WINE_CONFIG_DLL(system.drv16,enable_win16)
WINE_CONFIG_DLL(t2embed)
WINE_CONFIG_DLL(tapi32,,[implib])
WINE_CONFIG_DLL(taskschd)
WINE_CONFIG_DLL(toolhelp.dll16,enable_win16)
WINE_CONFIG_DLL(traffic)
WINE_CONFIG_DLL(twain.dll16,enable_win16)

View File

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

48
dlls/taskschd/taskschd.c Normal file
View File

@ -0,0 +1,48 @@
/*
* Task Scheduler
*
* Copyright 2013 Dmitry Timoshkov
*
* 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>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(taskschd);
/******************************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
break;
}
return TRUE;
}

View File

@ -0,0 +1,5 @@
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllGetVersion
@ stub DllRegisterServer
@ stub DllUnregisterServer