Commit d1ddc9c1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

spoolsv: Added spoolsv.exe.

parent 2cd033ee
......@@ -759,6 +759,7 @@ programs/regsvr32/regsvr32
programs/regsvr32/regsvr32.res
programs/rpcss/rpcss
programs/rundll32/rundll32
programs/spoolsv/spoolsv
programs/start/rsrc.res
programs/start/start
programs/taskmgr/font.bmp
......
......@@ -449,6 +449,7 @@ ALL_MAKEFILES = \
programs/regsvr32/Makefile \
programs/rpcss/Makefile \
programs/rundll32/Makefile \
programs/spoolsv/Makefile \
programs/start/Makefile \
programs/taskmgr/Makefile \
programs/uninstaller/Makefile \
......@@ -786,6 +787,7 @@ programs/regedit/Makefile: programs/regedit/Makefile.in programs/Makeprog.rules
programs/regsvr32/Makefile: programs/regsvr32/Makefile.in programs/Makeprog.rules
programs/rpcss/Makefile: programs/rpcss/Makefile.in programs/Makeprog.rules
programs/rundll32/Makefile: programs/rundll32/Makefile.in programs/Makeprog.rules
programs/spoolsv/Makefile: programs/spoolsv/Makefile.in programs/Makeprog.rules
programs/start/Makefile: programs/start/Makefile.in programs/Makeprog.rules
programs/taskmgr/Makefile: programs/taskmgr/Makefile.in programs/Makeprog.rules
programs/uninstaller/Makefile: programs/uninstaller/Makefile.in programs/Makeprog.rules
......
......@@ -20823,6 +20823,8 @@ ac_config_files="$ac_config_files programs/rpcss/Makefile"
ac_config_files="$ac_config_files programs/rundll32/Makefile"
ac_config_files="$ac_config_files programs/spoolsv/Makefile"
ac_config_files="$ac_config_files programs/start/Makefile"
ac_config_files="$ac_config_files programs/taskmgr/Makefile"
......@@ -21744,6 +21746,7 @@ do
"programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
"programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
"programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
"programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
"programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
"programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
"programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
......
......@@ -1809,6 +1809,7 @@ AC_CONFIG_FILES([programs/regedit/Makefile])
AC_CONFIG_FILES([programs/regsvr32/Makefile])
AC_CONFIG_FILES([programs/rpcss/Makefile])
AC_CONFIG_FILES([programs/rundll32/Makefile])
AC_CONFIG_FILES([programs/spoolsv/Makefile])
AC_CONFIG_FILES([programs/start/Makefile])
AC_CONFIG_FILES([programs/taskmgr/Makefile])
AC_CONFIG_FILES([programs/uninstaller/Makefile])
......
......@@ -24,6 +24,7 @@ SUBDIRS = \
regsvr32 \
rpcss \
rundll32 \
spoolsv \
start \
taskmgr \
uninstaller \
......@@ -63,6 +64,7 @@ INSTALLSUBDIRS = \
regsvr32 \
rpcss \
rundll32 \
spoolsv \
start \
taskmgr \
uninstaller \
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = spoolsv.exe
APPMODE = -mconsole
IMPORTS = advapi32 kernel32
C_SRCS = \
main.c
@MAKE_PROG_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* Copyright 2007 Jacek Caban 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
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(spoolsv);
static void WINAPI serv_main(DWORD argc, LPWSTR *argv)
{
WINE_FIXME("(%d %p)\n", argc, argv);
}
int main(int argc, char **argv)
{
static WCHAR wszSPOOLER[] = {'S','P','O','O','L','E','R',0};
static const SERVICE_TABLE_ENTRYW servtbl[] = {
{wszSPOOLER, serv_main},
{NULL, NULL}
};
WINE_TRACE("(%d %p)\n", argc, argv);
StartServiceCtrlDispatcherW(servtbl);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment