[ros-diffs] [hpoussin] 33378: Use _tWinMain instead of WinMain, as msconfig.exe uses TCHAR in other places

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Thu May 8 19:49:43 CEST 2008


Author: hpoussin
Date: Thu May  8 12:49:42 2008
New Revision: 33378

URL: http://svn.reactos.org/svn/reactos?rev=33378&view=rev
Log:
Use _tWinMain instead of WinMain, as msconfig.exe uses TCHAR in other places

Modified:
    trunk/reactos/base/applications/msconfig/msconfig.c

Modified: trunk/reactos/base/applications/msconfig/msconfig.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig/msconfig.c?rev=33378&r1=33377&r2=33378&view=diff
==============================================================================
--- trunk/reactos/base/applications/msconfig/msconfig.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/msconfig/msconfig.c [iso-8859-1] Thu May  8 12:49:42 2008
@@ -204,10 +204,10 @@
     return 0;
 }
 
-int APIENTRY WinMain(HINSTANCE hInstance,
-                     HINSTANCE hPrevInstance,
-                     LPSTR     lpCmdLine,
-                     int       nCmdShow)
+int APIENTRY _tWinMain(HINSTANCE hInstance,
+                       HINSTANCE hPrevInstance,
+                       LPTSTR    lpCmdLine,
+                       int       nCmdShow)
 {
 
     INITCOMMONCONTROLSEX InitControls;



More information about the Ros-diffs mailing list