Author: cwittich
Date: Sun Jan 19 08:30:17 2014
New Revision: 61683
URL:
http://svn.reactos.org/svn/reactos?rev=61683&view=rev
Log:
[winver]
convert to unicode
Modified:
trunk/reactos/base/applications/winver/winver.c
Modified: trunk/reactos/base/applications/winver/winver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/winver/w…
==============================================================================
--- trunk/reactos/base/applications/winver/winver.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/winver/winver.c [iso-8859-1] Sun Jan 19 08:30:17 2014
@@ -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;
}