robocopy: Add stub.

Signed-off-by: Florian Eder <others.meder@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Florian Eder 2021-10-16 11:13:40 +00:00 committed by Alexandre Julliard
parent f84d88d44a
commit 530c183960
5 changed files with 75 additions and 0 deletions

2
configure vendored
View File

@ -1847,6 +1847,7 @@ enable_regedit
enable_regini
enable_regsvcs
enable_regsvr32
enable_robocopy
enable_rpcss
enable_rundll32
enable_sc
@ -20920,6 +20921,7 @@ wine_fn_config_makefile programs/regedit/tests enable_tests
wine_fn_config_makefile programs/regini enable_regini
wine_fn_config_makefile programs/regsvcs enable_regsvcs
wine_fn_config_makefile programs/regsvr32 enable_regsvr32
wine_fn_config_makefile programs/robocopy enable_robocopy
wine_fn_config_makefile programs/rpcss enable_rpcss
wine_fn_config_makefile programs/rundll.exe16 enable_win16
wine_fn_config_makefile programs/rundll32 enable_rundll32

View File

@ -3862,6 +3862,7 @@ WINE_CONFIG_MAKEFILE(programs/regedit/tests)
WINE_CONFIG_MAKEFILE(programs/regini)
WINE_CONFIG_MAKEFILE(programs/regsvcs)
WINE_CONFIG_MAKEFILE(programs/regsvr32)
WINE_CONFIG_MAKEFILE(programs/robocopy)
WINE_CONFIG_MAKEFILE(programs/rpcss)
WINE_CONFIG_MAKEFILE(programs/rundll.exe16,enable_win16)
WINE_CONFIG_MAKEFILE(programs/rundll32)

View File

@ -0,0 +1,8 @@
MODULE = robocopy.exe
EXTRADLLFLAGS = -mconsole -municode
C_SRCS = \
main.c
RC_SRCS = robocopy.rc

30
programs/robocopy/main.c Normal file
View File

@ -0,0 +1,30 @@
/*
* Copyright 2021 Florian Eder
*
* 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(robocopy);
int __cdecl wmain(int argc, WCHAR *argv[])
{
FIXME("robocopy stub\n");
return 16;
}

View File

@ -0,0 +1,34 @@
/*
* Copyright 2021 Florian Eder
*
* 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 <windef.h>
#pragma makedep po
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define WINE_FILEDESCRIPTION_STR "Wine Robocopy"
#define WINE_FILENAME_STR "robocopy.exe"
#define WINE_FILETYPE VFT_APP
#define WINE_FILEVERSION 5,1,10,1027
#define WINE_FILEVERSION_STR "5.1.10.1027"
#define WINE_PRODUCTVERSION 5,1,10,1027
#define WINE_PRODUCTVERSION_STR "5.1.10.1027"
#include "wine/wine_common_ver.rc"