programs: Add a stubbed sc.exe.

This is a command line tool used to create and configure services.
It's included in XP and used by the Akamai client installer.
This commit is contained in:
Hans Leidekker 2010-05-03 12:56:58 +02:00 committed by Alexandre Julliard
parent c4efb23d27
commit 544da28e53
4 changed files with 41 additions and 0 deletions

1
configure vendored
View File

@ -14768,6 +14768,7 @@ wine_fn_config_program regedit enable_regedit installbin
wine_fn_config_program regsvr32 enable_regsvr32 installbin
wine_fn_config_program rpcss enable_rpcss install
wine_fn_config_program rundll32 enable_rundll32 install
wine_fn_config_program sc enable_sc install
wine_fn_config_program secedit enable_secedit install
wine_fn_config_program services enable_services install
wine_fn_config_program spoolsv enable_spoolsv install

View File

@ -2696,6 +2696,7 @@ WINE_CONFIG_PROGRAM(regedit,installbin)
WINE_CONFIG_PROGRAM(regsvr32,installbin)
WINE_CONFIG_PROGRAM(rpcss,install)
WINE_CONFIG_PROGRAM(rundll32,install)
WINE_CONFIG_PROGRAM(sc,install)
WINE_CONFIG_PROGRAM(secedit,install)
WINE_CONFIG_PROGRAM(services,install)
WINE_CONFIG_PROGRAM(spoolsv,install)

12
programs/sc/Makefile.in Normal file
View File

@ -0,0 +1,12 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = sc.exe
APPMODE = -mconsole -municode
IMPORTS = kernel32
EXTRADEFS = -DWINE_NO_UNICODE_MACROS
C_SRCS = sc.c
@MAKE_PROG_RULES@

27
programs/sc/sc.c Normal file
View File

@ -0,0 +1,27 @@
/*
* Copyright 2010 Hans Leidekker
*
* 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 "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(sc);
int wmain( int argc, WCHAR *argv[] )
{
WINE_FIXME("stub\n");
return 1;
}