Use _tWinMain instead of WinMain, as msconfig.exe uses TCHAR in other places
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 8 May 2008 17:49:42 +0000 (17:49 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Thu, 8 May 2008 17:49:42 +0000 (17:49 +0000)
svn path=/trunk/; revision=33378

reactos/base/applications/msconfig/msconfig.c

index b587752..3e4ce7c 100644 (file)
@@ -204,10 +204,10 @@ MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
     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;