[winver]
authorChristoph von Wittich <christoph_vw@reactos.org>
Sun, 19 Jan 2014 08:30:17 +0000 (08:30 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sun, 19 Jan 2014 08:30:17 +0000 (08:30 +0000)
convert to unicode

svn path=/trunk/; revision=61683

reactos/base/applications/winver/winver.c

index 1065b51..b969d14 100644 (file)
@@ -2,14 +2,14 @@
 #include <windef.h>
 #include <winbase.h>
 #include <shellapi.h>
-#include <tchar.h>
 
-int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) {
+int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
+{
   static const WCHAR szROS[] = { 'R','e','a','c','t','O','S',0 };
   UNREFERENCED_PARAMETER(lpCmdLine);
   UNREFERENCED_PARAMETER(nCmdShow);
   UNREFERENCED_PARAMETER(hPrevInstance);
   UNREFERENCED_PARAMETER(hInstance);
-  ShellAbout(0, szROS, 0, 0);
+  ShellAboutW(0, szROS, 0, 0);
   return 1;
 }