From: Mohamad Al-Jaf mohamadaljaf@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53755 --- configure.ac | 1 + programs/setx/Makefile.in | 9 +++++++++ programs/setx/main.c | 33 +++++++++++++++++++++++++++++++++ programs/setx/version.rc | 27 +++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 programs/setx/Makefile.in create mode 100644 programs/setx/main.c create mode 100644 programs/setx/version.rc
diff --git a/configure.ac b/configure.ac index 2907dbd7d84..169299da237 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/programs/setx/Makefile.in b/programs/setx/Makefile.in new file mode 100644 index 00000000000..1a556abd511 --- /dev/null +++ b/programs/setx/Makefile.in @@ -0,0 +1,9 @@ +MODULE = setx.exe + +EXTRADLLFLAGS = -mconsole -municode + +C_SRCS = \ + main.c + +RC_SRCS = \ + version.rc diff --git a/programs/setx/main.c b/programs/setx/main.c new file mode 100644 index 00000000000..8b6ea45c76d --- /dev/null +++ b/programs/setx/main.c @@ -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; +} diff --git a/programs/setx/version.rc b/programs/setx/version.rc new file mode 100644 index 00000000000..e8c6324aaac --- /dev/null +++ b/programs/setx/version.rc @@ -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"