[NtUser]
[reactos.git] / reactos / base / applications / winver / winver.c
index 3514b26..bbac278 100644 (file)
@@ -1,12 +1,20 @@
-#include <windows.h>
-#include <tchar.h>
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Version Program
+ * FILE:            base/applications/winver/winver.c
+ */
 
-int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR 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);
-  return 1;
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+#include <shellapi.h>
+
+int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
+{
+    UNREFERENCED_PARAMETER(hInstance);
+    UNREFERENCED_PARAMETER(hPrevInstance);
+    UNREFERENCED_PARAMETER(lpCmdLine);
+    UNREFERENCED_PARAMETER(nCmdShow);
+
+    return ShellAboutW(NULL, L"ReactOS", NULL, NULL);
 }