Author: hpoussin Date: Thu May 8 13:26:15 2008 New Revision: 33380
URL: http://svn.reactos.org/svn/reactos?rev=33380&view=rev Log: Fix some various unicode problems
Modified: trunk/reactos/base/applications/dxdiag/dxdiag.c trunk/reactos/base/applications/sndvol32/sndvol32.c trunk/reactos/base/services/eventlog/eventlog.c trunk/reactos/base/services/umpnpmgr/umpnpmgr.c trunk/reactos/base/setup/vmwinst/vmwinst.c trunk/reactos/base/system/lsass/lsass.c trunk/reactos/base/system/regsvr32/regsvr32.c trunk/reactos/base/system/rundll32/rundll32.c trunk/reactos/boot/freeldr/fdebug/fdebug.c
Modified: trunk/reactos/base/applications/dxdiag/dxdiag.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/dx... ============================================================================== --- trunk/reactos/base/applications/dxdiag/dxdiag.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/dxdiag/dxdiag.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -220,10 +220,10 @@ return 0; }
-int APIENTRY WinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPSTR lpCmdLine, - int nCmdShow) +int APIENTRY wWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPWSTR lpCmdLine, + int nCmdShow) {
INITCOMMONCONTROLSEX InitControls;
Modified: trunk/reactos/base/applications/sndvol32/sndvol32.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndvol32/... ============================================================================== --- trunk/reactos/base/applications/sndvol32/sndvol32.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/sndvol32/sndvol32.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -798,10 +798,10 @@ }
int WINAPI -WinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPSTR lpszCmdLine, - int nCmdShow) +_tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpszCmdLine, + int nCmdShow) { MSG Msg; int Ret = 1;
Modified: trunk/reactos/base/services/eventlog/eventlog.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/even... ============================================================================== --- trunk/reactos/base/services/eventlog/eventlog.c [iso-8859-1] (original) +++ trunk/reactos/base/services/eventlog/eventlog.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -185,7 +185,7 @@ return TRUE; }
-INT main() +INT wmain() { WCHAR LogPath[MAX_PATH]; INT RetCode = 0;
Modified: trunk/reactos/base/services/umpnpmgr/umpnpmgr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/umpnpmgr/umpn... ============================================================================== --- trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] (original) +++ trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -2191,7 +2191,7 @@
int -main(int argc, char *argv[]) +wmain(int argc, WCHAR *argv[]) { DWORD dwError;
Modified: trunk/reactos/base/setup/vmwinst/vmwinst.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/vmwinst/vmwinst.... ============================================================================== --- trunk/reactos/base/setup/vmwinst/vmwinst.c [iso-8859-1] (original) +++ trunk/reactos/base/setup/vmwinst/vmwinst.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -1030,9 +1030,9 @@ }
int WINAPI -WinMain(HINSTANCE hInstance, +wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpszCmdLine, + LPWSTR lpszCmdLine, int nCmdShow) {
Modified: trunk/reactos/base/system/lsass/lsass.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/lsass/lsass.c?r... ============================================================================== --- trunk/reactos/base/system/lsass/lsass.c [iso-8859-1] (original) +++ trunk/reactos/base/system/lsass/lsass.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -55,10 +55,10 @@ }
INT WINAPI -WinMain( +wWinMain( IN HINSTANCE hInstance, IN HINSTANCE hPrevInstance, - IN LPSTR lpCmdLine, + IN LPWSTR lpCmdLine, IN INT nShowCmd) { NTSTATUS Status = STATUS_SUCCESS;
Modified: trunk/reactos/base/system/regsvr32/regsvr32.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/regsvr32/regsvr... ============================================================================== --- trunk/reactos/base/system/regsvr32/regsvr32.c [iso-8859-1] (original) +++ trunk/reactos/base/system/regsvr32/regsvr32.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -247,10 +247,10 @@ _tprintf(_T("%s: %s\n\n"),lpTitle,lpMessage); }
-int WINAPI WinMain( +int WINAPI _tWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLineA, + LPTSTR lpCmdLine, int nCmdShow ) {
Modified: trunk/reactos/base/system/rundll32/rundll32.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/rundll32/rundll... ============================================================================== --- trunk/reactos/base/system/rundll32/rundll32.c [iso-8859-1] (original) +++ trunk/reactos/base/system/rundll32/rundll32.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -331,10 +331,10 @@ return Ret; }
-int WINAPI WinMain( +int WINAPI _tWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLineA, + LPTSTR lpCmdLine, int nCmdShow ) {
Modified: trunk/reactos/boot/freeldr/fdebug/fdebug.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/fdebug/fdebug.... ============================================================================== --- trunk/reactos/boot/freeldr/fdebug/fdebug.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/fdebug/fdebug.c [iso-8859-1] Thu May 8 13:26:15 2008 @@ -39,10 +39,10 @@ VOID CheckLocalEchoMenuItem(BOOL Checked); VOID Rs232Thread(VOID* Parameter);
-int APIENTRY WinMain(HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPSTR lpCmdLine, - int nCmdShow) +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) { // TODO: Place code here. MSG msg;