setx: Add stub program.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53755
This commit is contained in:
Mohamad Al-Jaf 2022-11-07 02:34:49 -05:00 committed by Alexandre Julliard
parent f3bf30688c
commit 82e8d6036f
5 changed files with 72 additions and 0 deletions

2
configure vendored
View file

@ -1641,6 +1641,7 @@ enable_sdbinst
enable_secedit
enable_servicemodelreg
enable_services
enable_setx
enable_shutdown
enable_spoolsv
enable_start
@ -22342,6 +22343,7 @@ wine_fn_config_makefile programs/secedit enable_secedit
wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
wine_fn_config_makefile programs/services enable_services
wine_fn_config_makefile programs/services/tests enable_tests
wine_fn_config_makefile programs/setx enable_setx
wine_fn_config_makefile programs/shutdown enable_shutdown
wine_fn_config_makefile programs/spoolsv enable_spoolsv
wine_fn_config_makefile programs/start enable_start

View file

@ -3437,6 +3437,7 @@ WINE_CONFIG_MAKEFILE(programs/secedit)
WINE_CONFIG_MAKEFILE(programs/servicemodelreg)
WINE_CONFIG_MAKEFILE(programs/services)
WINE_CONFIG_MAKEFILE(programs/services/tests)
WINE_CONFIG_MAKEFILE(programs/setx)
WINE_CONFIG_MAKEFILE(programs/shutdown)
WINE_CONFIG_MAKEFILE(programs/spoolsv)
WINE_CONFIG_MAKEFILE(programs/start)

View file

@ -0,0 +1,9 @@
MODULE = setx.exe
EXTRADLLFLAGS = -mconsole -municode
C_SRCS = \
main.c
RC_SRCS = \
version.rc

33
programs/setx/main.c Normal file
View file

@ -0,0 +1,33 @@
/*
* Copyright (C) 2022 Mohamad Al-Jaf
*
* 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(setx);
int __cdecl wmain(int argc, WCHAR *argv[])
{
int i;
WINE_FIXME("stub:");
for (i = 0; i < argc; i++)
WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
WINE_FIXME("\n");
return 0;
}

27
programs/setx/version.rc Normal file
View file

@ -0,0 +1,27 @@
/*
* Copyright (c) 2022 Mohamad Al-Jaf
*
* 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 WINE_FILEDESCRIPTION_STR "Wine setx"
#define WINE_FILENAME_STR "setx.exe"
#define WINE_FILETYPE VFT_APP
#define WINE_FILEVERSION 10,0,19041,1
#define WINE_FILEVERSION_STR "10.0.19041.1"
#define WINE_PRODUCTVERSION 10,0,19041,1
#define WINE_PRODUCTVERSION_STR "10.0.19041.1"
#include "wine/wine_common_ver.rc"