mstask: Skeleton implementation of Task Scheduler Service.

oldstable
Roy Shea 2008-07-14 17:12:47 -07:00 committed by Alexandre Julliard
parent fb0e728a74
commit 80ee225f23
7 changed files with 76 additions and 0 deletions

View File

@ -349,6 +349,7 @@ ALL_MAKEFILES = \
dlls/msnet32/Makefile \
dlls/msrle32/Makefile \
dlls/mssip32/Makefile \
dlls/mstask/Makefile \
dlls/msvcirt/Makefile \
dlls/msvcr71/Makefile \
dlls/msvcrt/Makefile \
@ -778,6 +779,7 @@ dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules
dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules
dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules
dlls/mssip32/Makefile: dlls/mssip32/Makefile.in dlls/Makedll.rules
dlls/mstask/Makefile: dlls/mstask/Makefile.in dlls/Makedll.rules
dlls/msvcirt/Makefile: dlls/msvcirt/Makefile.in dlls/Makedll.rules
dlls/msvcr71/Makefile: dlls/msvcr71/Makefile.in dlls/Makedll.rules
dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -22124,6 +22124,8 @@ ac_config_files="$ac_config_files dlls/msrle32/Makefile"
ac_config_files="$ac_config_files dlls/mssip32/Makefile"
ac_config_files="$ac_config_files dlls/mstask/Makefile"
ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
@ -23335,6 +23337,7 @@ do
"dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
"dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
"dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
"dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;;
"dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
"dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
"dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;

View File

@ -1891,6 +1891,7 @@ AC_CONFIG_FILES([dlls/msisys.ocx/Makefile])
AC_CONFIG_FILES([dlls/msnet32/Makefile])
AC_CONFIG_FILES([dlls/msrle32/Makefile])
AC_CONFIG_FILES([dlls/mssip32/Makefile])
AC_CONFIG_FILES([dlls/mstask/Makefile])
AC_CONFIG_FILES([dlls/msvcirt/Makefile])
AC_CONFIG_FILES([dlls/msvcr71/Makefile])
AC_CONFIG_FILES([dlls/msvcrt/Makefile])

View File

@ -156,6 +156,7 @@ BASEDIRS = \
msnet32 \
msrle32 \
mssip32 \
mstask \
msvcirt \
msvcr71 \
msvcrt \

View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = mstask.dll
IMPORTS = kernel32
C_SRCS = \
mstask_main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

View File

@ -0,0 +1,13 @@
@ stub ConvertAtJobsToTasks
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub GetNetScheduleAccountInformation
@ stub NetrJobAdd
@ stub NetrJobDel
@ stub NetrJobEnum
@ stub NetrJobGetInfo
@ stub SAGetAccountInformation
@ stub SAGetNSAccountInformation
@ stub SASetAccountInformation
@ stub SASetNSAccountInformation
@ stub SetNetScheduleAccountInformation

View File

@ -0,0 +1,43 @@
/*
* Copyright (C) 2008 Google (Roy Shea)
*
* 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"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mstask);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE;
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}