programs: Make all program entrypoints cdecl.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-10-17 17:05:47 +02:00
parent db080b0c7f
commit ed6a5e97e0
65 changed files with 65 additions and 65 deletions

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(arp); WINE_DEFAULT_DEBUG_CHANNEL(arp);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(aspnet_regiis); WINE_DEFAULT_DEBUG_CHANNEL(aspnet_regiis);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -244,7 +244,7 @@ static BOOL ATTRIB_processdirectory(const WCHAR *rootdir, const WCHAR *filespec,
return found; return found;
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
WCHAR name[MAX_PATH]; WCHAR name[MAX_PATH];
WCHAR *namepart; WCHAR *namepart;

View File

@ -591,7 +591,7 @@ static void usage( void )
" -v More verbose output\n" ); " -v More verbose output\n" );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
static const WCHAR noneW[] = {'n','o','n','e',0}; static const WCHAR noneW[] = {'n','o','n','e',0};
static const WCHAR mszipW[] = {'m','s','z','i','p',0}; static const WCHAR mszipW[] = {'m','s','z','i','p',0};

View File

@ -24,7 +24,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(cacls); WINE_DEFAULT_DEBUG_CHANNEL(cacls);
int main(int argc, char** argv) int __cdecl main(int argc, char** argv)
{ {
int i; int i;

View File

@ -2419,7 +2419,7 @@ void WCMD_free_commands(CMD_LIST *cmds) {
* winmain(). * winmain().
*/ */
int wmain (int argc, WCHAR *argvW[]) int __cdecl wmain (int argc, WCHAR *argvW[])
{ {
int args; int args;
WCHAR *cmdLine = NULL; WCHAR *cmdLine = NULL;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(conhost); WINE_DEFAULT_DEBUG_CHANNEL(conhost);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(dism); WINE_DEFAULT_DEBUG_CHANNEL(dism);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(dpnsvr); WINE_DEFAULT_DEBUG_CHANNEL(dpnsvr);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -145,7 +145,7 @@ static void parse_options( int *argc, char *argv[] )
} }
} }
int main( int argc, char *argv[] ) int __cdecl main( int argc, char *argv[] )
{ {
parse_options( &argc, argv ); parse_options( &argc, argv );

View File

@ -89,7 +89,7 @@ static BOOL option_equal(LPCSTR str1, LPCSTR str2)
return !lstrcmpA( str1 + 1, str2 ); return !lstrcmpA( str1 + 1, str2 );
} }
int main(int argc, char *argv[]) int __cdecl main(int argc, char *argv[])
{ {
int ret = 0; int ret = 0;
char infile[MAX_PATH], outfile[MAX_PATH], actual_name[MAX_PATH]; char infile[MAX_PATH], outfile[MAX_PATH], actual_name[MAX_PATH];

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(fc); WINE_DEFAULT_DEBUG_CHANNEL(fc);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(find); WINE_DEFAULT_DEBUG_CHANNEL(find);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(findstr); WINE_DEFAULT_DEBUG_CHANNEL(findstr);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(fsutil); WINE_DEFAULT_DEBUG_CHANNEL(fsutil);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -118,7 +118,7 @@ static int display_computer_name(void)
return 0; return 0;
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
if (argc > 1) if (argc > 1)
{ {

View File

@ -25,7 +25,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(icacls); WINE_DEFAULT_DEBUG_CHANNEL(icacls);
int main(int argc, char** argv) int __cdecl main(int argc, char** argv)
{ {
int i; int i;

View File

@ -54,7 +54,7 @@ static int WINAPIV mywprintf(const WCHAR *format, ...)
return res ? nOut : 0; return res ? nOut : 0;
} }
int wmain(int argc, WCHAR* argv[]) int __cdecl wmain(int argc, WCHAR* argv[])
{ {
int i, n=0,doabout=0,doconfigure=0; int i, n=0,doabout=0,doconfigure=0;

View File

@ -374,7 +374,7 @@ static void print_full_information(void)
} }
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
static const WCHAR slashHelp[] = {'/','?',0}; static const WCHAR slashHelp[] = {'/','?',0};
static const WCHAR slashAll[] = {'/','a','l','l',0}; static const WCHAR slashAll[] = {'/','a','l','l',0};

View File

@ -19,7 +19,7 @@
#include <windows.h> #include <windows.h>
#include <loadperf.h> #include <loadperf.h>
int main( int argc, char *argv[] ) int __cdecl main( int argc, char *argv[] )
{ {
return LoadPerfCounterTextStringsW(GetCommandLineW(), FALSE); return LoadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
} }

View File

@ -23,7 +23,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(mofcomp); WINE_DEFAULT_DEBUG_CHANNEL(mofcomp);
int wmain( int argc, const WCHAR *argv[] ) int __cdecl wmain( int argc, const WCHAR *argv[] )
{ {
WINE_FIXME("stub\n"); WINE_FIXME("stub\n");
return 0; return 0;

View File

@ -615,7 +615,7 @@ static int export_tables( struct msidb_state *state )
return 1; return 1;
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
struct msidb_state state; struct msidb_state state;
int i, n = 1; int i, n = 1;

View File

@ -24,7 +24,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(msinfo); WINE_DEFAULT_DEBUG_CHANNEL(msinfo);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;
WCHAR system_info[64]; WCHAR system_info[64];

View File

@ -294,7 +294,7 @@ static BOOL arg_is(const WCHAR* str1, const WCHAR* str2)
return CompareStringW(LOCALE_USER_DEFAULT, NORM_IGNORECASE, str1, -1, str2, -1) == CSTR_EQUAL; return CompareStringW(LOCALE_USER_DEFAULT, NORM_IGNORECASE, str1, -1, str2, -1) == CSTR_EQUAL;
} }
int wmain(int argc, const WCHAR* argv[]) int __cdecl wmain(int argc, const WCHAR* argv[])
{ {
static const WCHAR helpW[]={'h','e','l','p',0}; static const WCHAR helpW[]={'h','e','l','p',0};
static const WCHAR shelpW[]={'/','h','e','l','p',0}; static const WCHAR shelpW[]={'/','h','e','l','p',0};

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(netsh); WINE_DEFAULT_DEBUG_CHANNEL(netsh);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -348,7 +348,7 @@ static NETSTATPROTOCOLS NETSTAT_get_protocol(WCHAR name[])
return PROT_UNKNOWN; return PROT_UNKNOWN;
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
WSADATA wsa_data; WSADATA wsa_data;
BOOL output_stats = FALSE; BOOL output_stats = FALSE;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(ngen); WINE_DEFAULT_DEBUG_CHANNEL(ngen);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -45,7 +45,7 @@ static void usage(void)
" -l Length of send buffer.\n"); " -l Length of send buffer.\n");
} }
int main(int argc, char** argv) int __cdecl main(int argc, char** argv)
{ {
unsigned int n = 4, i, w = 4000, l = 32; unsigned int n = 4, i, w = 4000, l = 32;
int res; int res;

View File

@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
WINE_TRACE( "service stopped\n" ); WINE_TRACE( "service stopped\n" );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
static const SERVICE_TABLE_ENTRYW service_table[] = static const SERVICE_TABLE_ENTRYW service_table[] =
{ {

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(powershell); WINE_DEFAULT_DEBUG_CHANNEL(powershell);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
WINE_TRACE( "service stopped\n" ); WINE_TRACE( "service stopped\n" );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
static const SERVICE_TABLE_ENTRYW service_table[] = static const SERVICE_TABLE_ENTRYW service_table[] =
{ {

View File

@ -943,7 +943,7 @@ static enum operations get_operation(const WCHAR *str, int *op_help)
return REG_INVALID; return REG_INVALID;
} }
int wmain(int argc, WCHAR *argvW[]) int __cdecl wmain(int argc, WCHAR *argvW[])
{ {
int i, op, op_help, ret; int i, op, op_help, ret;
BOOL show_op_help = FALSE; BOOL show_op_help = FALSE;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(regasm); WINE_DEFAULT_DEBUG_CHANNEL(regasm);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(regini); WINE_DEFAULT_DEBUG_CHANNEL(regini);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(regsvcs); WINE_DEFAULT_DEBUG_CHANNEL(regsvcs);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -211,7 +211,7 @@ static WCHAR *parse_command_line(WCHAR *command_line)
return NULL; return NULL;
} }
int wmain(int argc, WCHAR* argv[]) int __cdecl wmain(int argc, WCHAR* argv[])
{ {
int i, res, ret = 0; int i, res, ret = 0;
BOOL CallRegister = TRUE; BOOL CallRegister = TRUE;

View File

@ -148,7 +148,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
TRACE( "service stopped\n" ); TRACE( "service stopped\n" );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
static const SERVICE_TABLE_ENTRYW service_table[] = static const SERVICE_TABLE_ENTRYW service_table[] =
{ {

View File

@ -212,7 +212,7 @@ static void usage( void )
exit( 1 ); exit( 1 );
} }
int wmain( int argc, const WCHAR *argv[] ) int __cdecl wmain( int argc, const WCHAR *argv[] )
{ {
static const WCHAR createW[] = {'c','r','e','a','t','e',0}; static const WCHAR createW[] = {'c','r','e','a','t','e',0};
static const WCHAR descriptionW[] = {'d','e','s','c','r','i','p','t','i','o','n',0}; static const WCHAR descriptionW[] = {'d','e','s','c','r','i','p','t','i','o','n',0};

View File

@ -345,7 +345,7 @@ static int delete_command(int argc, WCHAR *argv[])
return 0; return 0;
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i, ret = 0; int i, ret = 0;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(sdbinst); WINE_DEFAULT_DEBUG_CHANNEL(sdbinst);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -16,7 +16,7 @@
#include <stdlib.h> #include <stdlib.h>
int main( int argc, char *argv[] ) int __cdecl main( int argc, char *argv[] )
{ {
return 0; return 0;
} }

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(svcmodelreg); WINE_DEFAULT_DEBUG_CHANNEL(svcmodelreg);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -1267,7 +1267,7 @@ static void load_registry_parameters(void)
RegCloseKey( key ); RegCloseKey( key );
} }
int main(int argc, char *argv[]) int __cdecl main(int argc, char *argv[])
{ {
static const WCHAR service_current_key_str[] = { 'S','Y','S','T','E','M','\\', static const WCHAR service_current_key_str[] = { 'S','Y','S','T','E','M','\\',
'C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\\', 'C','u','r','r','e','n','t','C','o','n','t','r','o','l','S','e','t','\\',

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(shutdown); WINE_DEFAULT_DEBUG_CHANNEL(shutdown);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -88,7 +88,7 @@ static void WINAPI serv_main(DWORD argc, LPWSTR *argv)
WINE_TRACE( "service stopped\n" ); WINE_TRACE( "service stopped\n" );
} }
int main(int argc, char **argv) int __cdecl main(int argc, char **argv)
{ {
static const SERVICE_TABLE_ENTRYW servtbl[] = { static const SERVICE_TABLE_ENTRYW servtbl[] = {
{spoolerW, serv_main}, {spoolerW, serv_main},

View File

@ -350,7 +350,7 @@ static BOOL search_path(const WCHAR *firstParam, WCHAR **full_path)
return FALSE; return FALSE;
} }
int wmain (int argc, WCHAR *argv[]) int __cdecl wmain (int argc, WCHAR *argv[])
{ {
SHELLEXECUTEINFOW sei; SHELLEXECUTEINFOW sei;
DWORD creation_flags; DWORD creation_flags;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(subst); WINE_DEFAULT_DEBUG_CHANNEL(subst);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -332,7 +332,7 @@ static BOOL LoadGroup(PWCHAR group_name)
} }
/* Load svchost group specified on the command line via the /k option */ /* Load svchost group specified on the command line via the /k option */
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int option_index; int option_index;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(systeminfo); WINE_DEFAULT_DEBUG_CHANNEL(systeminfo);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -525,7 +525,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
return TRUE; return TRUE;
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int status_code = 0; int status_code = 0;

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(tasklist); WINE_DEFAULT_DEBUG_CHANNEL(tasklist);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
WINE_TRACE( "service stopped\n" ); WINE_TRACE( "service stopped\n" );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
static const SERVICE_TABLE_ENTRYW service_table[] = static const SERVICE_TABLE_ENTRYW service_table[] =
{ {

View File

@ -157,7 +157,7 @@ static void RemoveSpecificProgram(WCHAR *nameW)
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
LPCWSTR token = NULL; LPCWSTR token = NULL;
static const WCHAR helpW[] = { '-','-','h','e','l','p',0 }; static const WCHAR helpW[] = { '-','-','h','e','l','p',0 };

View File

@ -19,7 +19,7 @@
#include <windows.h> #include <windows.h>
#include <loadperf.h> #include <loadperf.h>
int main( int argc, char *argv[] ) int __cdecl main( int argc, char *argv[] )
{ {
return UnloadPerfCounterTextStringsW(GetCommandLineW(), FALSE); return UnloadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
} }

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(wevtutil); WINE_DEFAULT_DEBUG_CHANNEL(wevtutil);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -141,7 +141,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
CloseHandle( stop_event ); CloseHandle( stop_event );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
SERVICE_TABLE_ENTRYW service_table[2]; SERVICE_TABLE_ENTRYW service_table[2];

View File

@ -254,7 +254,7 @@ static void show_usage( void )
); );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
if (argc < 3 || argv[1][0] != '-') if (argc < 3 || argv[1][0] != '-')
{ {

View File

@ -1237,7 +1237,7 @@ usage (void)
" -x DIR Extract tests to DIR (default: .\\wct) and exit\n"); " -x DIR Extract tests to DIR (default: .\\wct) and exit\n");
} }
int main( int argc, char *argv[] ) int __cdecl main( int argc, char *argv[] )
{ {
BOOL (WINAPI *pIsWow64Process)(HANDLE hProcess, PBOOL Wow64Process); BOOL (WINAPI *pIsWow64Process)(HANDLE hProcess, PBOOL Wow64Process);
char *logname = NULL, *outdir = NULL; char *logname = NULL, *outdir = NULL;

View File

@ -486,7 +486,7 @@ static void usage(void)
/*********************************************************************** /***********************************************************************
* main * main
*/ */
int main( int argc, char *argv[] ) int __cdecl main( int argc, char *argv[] )
{ {
DWORD count; DWORD count;
HINSTANCE16 instance; HINSTANCE16 instance;

View File

@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
TRACE( "service stopped\n" ); TRACE( "service stopped\n" );
} }
int wmain( int argc, WCHAR *argv[] ) int __cdecl wmain( int argc, WCHAR *argv[] )
{ {
static const SERVICE_TABLE_ENTRYW service_table[] = static const SERVICE_TABLE_ENTRYW service_table[] =
{ {

View File

@ -265,7 +265,7 @@ done:
return ret; return ret;
} }
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
static const WCHAR getW[] = {'g','e','t',0}; static const WCHAR getW[] = {'g','e','t',0};
static const WCHAR quitW[] = {'q','u','i','t',0}; static const WCHAR quitW[] = {'q','u','i','t',0};

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(wmplayer); WINE_DEFAULT_DEBUG_CHANNEL(wmplayer);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -89,7 +89,7 @@ static void WINAPI serv_main(DWORD argc, LPWSTR *argv)
WINE_TRACE( "service stopped\n" ); WINE_TRACE( "service stopped\n" );
} }
int main(int argc, char **argv) int __cdecl main(int argc, char **argv)
{ {
static const SERVICE_TABLE_ENTRYW servtbl[] = static const SERVICE_TABLE_ENTRYW servtbl[] =
{ {

View File

@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(wusa); WINE_DEFAULT_DEBUG_CHANNEL(wusa);
int wmain(int argc, WCHAR *argv[]) int __cdecl wmain(int argc, WCHAR *argv[])
{ {
int i; int i;

View File

@ -1087,7 +1087,7 @@ static int XCOPY_ProcessDestParm(WCHAR *supplieddestination, WCHAR *stem, WCHAR
Processes the args, and drives the actual copying Processes the args, and drives the actual copying
========================================================================= */ ========================================================================= */
int wmain (int argc, WCHAR *argvW[]) int __cdecl wmain (int argc, WCHAR *argvW[])
{ {
int rc = 0; int rc = 0;
WCHAR suppliedsource[MAX_PATH] = {0}; /* As supplied on the cmd line */ WCHAR suppliedsource[MAX_PATH] = {0}; /* As supplied on the cmd line */