Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ed6a5e97
Commit
ed6a5e97
authored
Oct 17, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
programs: Make all program entrypoints cdecl.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
db080b0c
Show whitespace changes
Inline
Side-by-side
Showing
65 changed files
with
65 additions
and
65 deletions
+65
-65
main.c
programs/arp/main.c
+1
-1
main.c
programs/aspnet_regiis/main.c
+1
-1
attrib.c
programs/attrib/attrib.c
+1
-1
cabarc.c
programs/cabarc/cabarc.c
+1
-1
cacls_main.c
programs/cacls/cacls_main.c
+1
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+1
-1
conhost.c
programs/conhost/conhost.c
+1
-1
dism.c
programs/dism/dism.c
+1
-1
main.c
programs/dpnsvr/main.c
+1
-1
eject.c
programs/eject/eject.c
+1
-1
expand.c
programs/expand/expand.c
+1
-1
fc.c
programs/fc/fc.c
+1
-1
find.c
programs/find/find.c
+1
-1
main.c
programs/findstr/main.c
+1
-1
main.c
programs/fsutil/main.c
+1
-1
hostname.c
programs/hostname/hostname.c
+1
-1
icacls_main.c
programs/icacls/icacls_main.c
+1
-1
icinfo.c
programs/icinfo/icinfo.c
+1
-1
ipconfig.c
programs/ipconfig/ipconfig.c
+1
-1
lodctr_main.c
programs/lodctr/lodctr_main.c
+1
-1
mofcomp.c
programs/mofcomp/mofcomp.c
+1
-1
main.c
programs/msidb/main.c
+1
-1
main.c
programs/msinfo32/main.c
+1
-1
net.c
programs/net/net.c
+1
-1
netsh.c
programs/netsh/netsh.c
+1
-1
netstat.c
programs/netstat/netstat.c
+1
-1
ngen_main.c
programs/ngen/ngen_main.c
+1
-1
ping_main.c
programs/ping/ping_main.c
+1
-1
main.c
programs/plugplay/main.c
+1
-1
main.c
programs/powershell/main.c
+1
-1
main.c
programs/presentationfontcache/main.c
+1
-1
reg.c
programs/reg/reg.c
+1
-1
main.c
programs/regasm/main.c
+1
-1
main.c
programs/regini/main.c
+1
-1
main.c
programs/regsvcs/main.c
+1
-1
regsvr32.c
programs/regsvr32/regsvr32.c
+1
-1
rpcss_main.c
programs/rpcss/rpcss_main.c
+1
-1
sc.c
programs/sc/sc.c
+1
-1
schtasks.c
programs/schtasks/schtasks.c
+1
-1
main.c
programs/sdbinst/main.c
+1
-1
main.c
programs/secedit/main.c
+1
-1
main.c
programs/servicemodelreg/main.c
+1
-1
services.c
programs/services/services.c
+1
-1
main.c
programs/shutdown/main.c
+1
-1
main.c
programs/spoolsv/main.c
+1
-1
start.c
programs/start/start.c
+1
-1
main.c
programs/subst/main.c
+1
-1
svchost.c
programs/svchost/svchost.c
+1
-1
main.c
programs/systeminfo/main.c
+1
-1
taskkill.c
programs/taskkill/taskkill.c
+1
-1
tasklist.c
programs/tasklist/tasklist.c
+1
-1
main.c
programs/termsv/main.c
+1
-1
main.c
programs/uninstaller/main.c
+1
-1
unlodctr_main.c
programs/unlodctr/unlodctr_main.c
+1
-1
main.c
programs/wevtutil/main.c
+1
-1
device.c
programs/winedevice/device.c
+1
-1
main.c
programs/winemsibuilder/main.c
+1
-1
main.c
programs/winetest/main.c
+1
-1
winevdm.c
programs/winevdm/winevdm.c
+1
-1
main.c
programs/winmgmt/main.c
+1
-1
main.c
programs/wmic/main.c
+1
-1
main.c
programs/wmplayer/main.c
+1
-1
main.c
programs/wuauserv/main.c
+1
-1
main.c
programs/wusa/main.c
+1
-1
xcopy.c
programs/xcopy/xcopy.c
+1
-1
No files found.
programs/arp/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
arp
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/aspnet_regiis/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
aspnet_regiis
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/attrib/attrib.c
View file @
ed6a5e97
...
...
@@ -244,7 +244,7 @@ static BOOL ATTRIB_processdirectory(const WCHAR *rootdir, const WCHAR *filespec,
return
found
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
WCHAR
name
[
MAX_PATH
];
WCHAR
*
namepart
;
...
...
programs/cabarc/cabarc.c
View file @
ed6a5e97
...
...
@@ -591,7 +591,7 @@ static void usage( void )
" -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
mszipW
[]
=
{
'm'
,
's'
,
'z'
,
'i'
,
'p'
,
0
};
...
...
programs/cacls/cacls_main.c
View file @
ed6a5e97
...
...
@@ -24,7 +24,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
cacls
);
int
main
(
int
argc
,
char
**
argv
)
int
__cdecl
main
(
int
argc
,
char
**
argv
)
{
int
i
;
...
...
programs/cmd/wcmdmain.c
View file @
ed6a5e97
...
...
@@ -2419,7 +2419,7 @@ void WCMD_free_commands(CMD_LIST *cmds) {
* winmain().
*/
int
wmain
(
int
argc
,
WCHAR
*
argvW
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argvW
[])
{
int
args
;
WCHAR
*
cmdLine
=
NULL
;
...
...
programs/conhost/conhost.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
conhost
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/dism/dism.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dism
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/dpnsvr/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dpnsvr
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/eject/eject.c
View file @
ed6a5e97
...
...
@@ -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
);
...
...
programs/expand/expand.c
View file @
ed6a5e97
...
...
@@ -89,7 +89,7 @@ static BOOL option_equal(LPCSTR str1, LPCSTR str2)
return
!
lstrcmpA
(
str1
+
1
,
str2
);
}
int
main
(
int
argc
,
char
*
argv
[])
int
__cdecl
main
(
int
argc
,
char
*
argv
[])
{
int
ret
=
0
;
char
infile
[
MAX_PATH
],
outfile
[
MAX_PATH
],
actual_name
[
MAX_PATH
];
...
...
programs/fc/fc.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
fc
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/find/find.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
find
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/findstr/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
findstr
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/fsutil/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
fsutil
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/hostname/hostname.c
View file @
ed6a5e97
...
...
@@ -118,7 +118,7 @@ static int display_computer_name(void)
return
0
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
if
(
argc
>
1
)
{
...
...
programs/icacls/icacls_main.c
View file @
ed6a5e97
...
...
@@ -25,7 +25,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
icacls
);
int
main
(
int
argc
,
char
**
argv
)
int
__cdecl
main
(
int
argc
,
char
**
argv
)
{
int
i
;
...
...
programs/icinfo/icinfo.c
View file @
ed6a5e97
...
...
@@ -54,7 +54,7 @@ static int WINAPIV mywprintf(const WCHAR *format, ...)
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
;
...
...
programs/ipconfig/ipconfig.c
View file @
ed6a5e97
...
...
@@ -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
slashAll
[]
=
{
'/'
,
'a'
,
'l'
,
'l'
,
0
};
...
...
programs/lodctr/lodctr_main.c
View file @
ed6a5e97
...
...
@@ -19,7 +19,7 @@
#include <windows.h>
#include <loadperf.h>
int
main
(
int
argc
,
char
*
argv
[]
)
int
__cdecl
main
(
int
argc
,
char
*
argv
[]
)
{
return
LoadPerfCounterTextStringsW
(
GetCommandLineW
(),
FALSE
);
}
programs/mofcomp/mofcomp.c
View file @
ed6a5e97
...
...
@@ -23,7 +23,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mofcomp
);
int
wmain
(
int
argc
,
const
WCHAR
*
argv
[]
)
int
__cdecl
wmain
(
int
argc
,
const
WCHAR
*
argv
[]
)
{
WINE_FIXME
(
"stub
\n
"
);
return
0
;
...
...
programs/msidb/main.c
View file @
ed6a5e97
...
...
@@ -615,7 +615,7 @@ static int export_tables( struct msidb_state *state )
return
1
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
{
struct
msidb_state
state
;
int
i
,
n
=
1
;
...
...
programs/msinfo32/main.c
View file @
ed6a5e97
...
...
@@ -24,7 +24,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msinfo
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
WCHAR
system_info
[
64
];
...
...
programs/net/net.c
View file @
ed6a5e97
...
...
@@ -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
;
}
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
shelpW
[]
=
{
'/'
,
'h'
,
'e'
,
'l'
,
'p'
,
0
};
...
...
programs/netsh/netsh.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
netsh
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/netstat/netstat.c
View file @
ed6a5e97
...
...
@@ -348,7 +348,7 @@ static NETSTATPROTOCOLS NETSTAT_get_protocol(WCHAR name[])
return
PROT_UNKNOWN
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
WSADATA
wsa_data
;
BOOL
output_stats
=
FALSE
;
...
...
programs/ngen/ngen_main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ngen
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/ping/ping_main.c
View file @
ed6a5e97
...
...
@@ -45,7 +45,7 @@ static void usage(void)
" -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
;
int
res
;
...
...
programs/plugplay/main.c
View file @
ed6a5e97
...
...
@@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
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
[]
=
{
...
...
programs/powershell/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
powershell
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/presentationfontcache/main.c
View file @
ed6a5e97
...
...
@@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
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
[]
=
{
...
...
programs/reg/reg.c
View file @
ed6a5e97
...
...
@@ -943,7 +943,7 @@ static enum operations get_operation(const WCHAR *str, int *op_help)
return
REG_INVALID
;
}
int
wmain
(
int
argc
,
WCHAR
*
argvW
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argvW
[])
{
int
i
,
op
,
op_help
,
ret
;
BOOL
show_op_help
=
FALSE
;
...
...
programs/regasm/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
regasm
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/regini/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
regini
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/regsvcs/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
regsvcs
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/regsvr32/regsvr32.c
View file @
ed6a5e97
...
...
@@ -211,7 +211,7 @@ static WCHAR *parse_command_line(WCHAR *command_line)
return
NULL
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
,
res
,
ret
=
0
;
BOOL
CallRegister
=
TRUE
;
...
...
programs/rpcss/rpcss_main.c
View file @
ed6a5e97
...
...
@@ -148,7 +148,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
TRACE
(
"service stopped
\n
"
);
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
{
static
const
SERVICE_TABLE_ENTRYW
service_table
[]
=
{
...
...
programs/sc/sc.c
View file @
ed6a5e97
...
...
@@ -212,7 +212,7 @@ static void usage( void )
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
descriptionW
[]
=
{
'd'
,
'e'
,
's'
,
'c'
,
'r'
,
'i'
,
'p'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
...
...
programs/schtasks/schtasks.c
View file @
ed6a5e97
...
...
@@ -345,7 +345,7 @@ static int delete_command(int argc, WCHAR *argv[])
return
0
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
,
ret
=
0
;
...
...
programs/sdbinst/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
sdbinst
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/secedit/main.c
View file @
ed6a5e97
...
...
@@ -16,7 +16,7 @@
#include <stdlib.h>
int
main
(
int
argc
,
char
*
argv
[]
)
int
__cdecl
main
(
int
argc
,
char
*
argv
[]
)
{
return
0
;
}
programs/servicemodelreg/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
svcmodelreg
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/services/services.c
View file @
ed6a5e97
...
...
@@ -1267,7 +1267,7 @@ static void load_registry_parameters(void)
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'
,
'\\'
,
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
'S'
,
'e'
,
't'
,
'\\'
,
...
...
programs/shutdown/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
shutdown
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/spoolsv/main.c
View file @
ed6a5e97
...
...
@@ -88,7 +88,7 @@ static void WINAPI serv_main(DWORD argc, LPWSTR *argv)
WINE_TRACE
(
"service stopped
\n
"
);
}
int
main
(
int
argc
,
char
**
argv
)
int
__cdecl
main
(
int
argc
,
char
**
argv
)
{
static
const
SERVICE_TABLE_ENTRYW
servtbl
[]
=
{
{
spoolerW
,
serv_main
},
...
...
programs/start/start.c
View file @
ed6a5e97
...
...
@@ -350,7 +350,7 @@ static BOOL search_path(const WCHAR *firstParam, WCHAR **full_path)
return
FALSE
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
SHELLEXECUTEINFOW
sei
;
DWORD
creation_flags
;
...
...
programs/subst/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
subst
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/svchost/svchost.c
View file @
ed6a5e97
...
...
@@ -332,7 +332,7 @@ static BOOL LoadGroup(PWCHAR group_name)
}
/* 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
;
...
...
programs/systeminfo/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
systeminfo
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/taskkill/taskkill.c
View file @
ed6a5e97
...
...
@@ -525,7 +525,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
return
TRUE
;
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
status_code
=
0
;
...
...
programs/tasklist/tasklist.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
tasklist
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/termsv/main.c
View file @
ed6a5e97
...
...
@@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
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
[]
=
{
...
...
programs/uninstaller/main.c
View file @
ed6a5e97
...
...
@@ -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
;
static
const
WCHAR
helpW
[]
=
{
'-'
,
'-'
,
'h'
,
'e'
,
'l'
,
'p'
,
0
};
...
...
programs/unlodctr/unlodctr_main.c
View file @
ed6a5e97
...
...
@@ -19,7 +19,7 @@
#include <windows.h>
#include <loadperf.h>
int
main
(
int
argc
,
char
*
argv
[]
)
int
__cdecl
main
(
int
argc
,
char
*
argv
[]
)
{
return
UnloadPerfCounterTextStringsW
(
GetCommandLineW
(),
FALSE
);
}
programs/wevtutil/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wevtutil
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/winedevice/device.c
View file @
ed6a5e97
...
...
@@ -141,7 +141,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
CloseHandle
(
stop_event
);
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
{
SERVICE_TABLE_ENTRYW
service_table
[
2
];
...
...
programs/winemsibuilder/main.c
View file @
ed6a5e97
...
...
@@ -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
]
!=
'-'
)
{
...
...
programs/winetest/main.c
View file @
ed6a5e97
...
...
@@ -1237,7 +1237,7 @@ usage (void)
" -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
);
char
*
logname
=
NULL
,
*
outdir
=
NULL
;
...
...
programs/winevdm/winevdm.c
View file @
ed6a5e97
...
...
@@ -486,7 +486,7 @@ static void usage(void)
/***********************************************************************
* main
*/
int
main
(
int
argc
,
char
*
argv
[]
)
int
__cdecl
main
(
int
argc
,
char
*
argv
[]
)
{
DWORD
count
;
HINSTANCE16
instance
;
...
...
programs/winmgmt/main.c
View file @
ed6a5e97
...
...
@@ -87,7 +87,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
TRACE
(
"service stopped
\n
"
);
}
int
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[]
)
{
static
const
SERVICE_TABLE_ENTRYW
service_table
[]
=
{
...
...
programs/wmic/main.c
View file @
ed6a5e97
...
...
@@ -265,7 +265,7 @@ done:
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
quitW
[]
=
{
'q'
,
'u'
,
'i'
,
't'
,
0
};
...
...
programs/wmplayer/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wmplayer
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/wuauserv/main.c
View file @
ed6a5e97
...
...
@@ -89,7 +89,7 @@ static void WINAPI serv_main(DWORD argc, LPWSTR *argv)
WINE_TRACE
(
"service stopped
\n
"
);
}
int
main
(
int
argc
,
char
**
argv
)
int
__cdecl
main
(
int
argc
,
char
**
argv
)
{
static
const
SERVICE_TABLE_ENTRYW
servtbl
[]
=
{
...
...
programs/wusa/main.c
View file @
ed6a5e97
...
...
@@ -20,7 +20,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wusa
);
int
wmain
(
int
argc
,
WCHAR
*
argv
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argv
[])
{
int
i
;
...
...
programs/xcopy/xcopy.c
View file @
ed6a5e97
...
...
@@ -1087,7 +1087,7 @@ static int XCOPY_ProcessDestParm(WCHAR *supplieddestination, WCHAR *stem, WCHAR
Processes the args, and drives the actual copying
========================================================================= */
int
wmain
(
int
argc
,
WCHAR
*
argvW
[])
int
__cdecl
wmain
(
int
argc
,
WCHAR
*
argvW
[])
{
int
rc
=
0
;
WCHAR
suppliedsource
[
MAX_PATH
]
=
{
0
};
/* As supplied on the cmd line */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment