Author: spetreolle
Date: Wed Aug 8 20:41:25 2007
New Revision: 28247
URL:
http://svn.reactos.org/svn/reactos?rev=28247&view=rev
Log:
use unicode directive
Modified:
trunk/rosapps/downloader/main.c
trunk/rosapps/gettype/gettype.c
trunk/rosapps/imagesoft/imagesoft.c
trunk/rosapps/screenshot/screenshot.c
trunk/rosapps/sysutils/ctm/ctm.c
trunk/rosapps/winver/winver.c
Modified: trunk/rosapps/downloader/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/main.c?rev=2824…
==============================================================================
--- trunk/rosapps/downloader/main.c (original)
+++ trunk/rosapps/downloader/main.c Wed Aug 8 20:41:25 2007
@@ -444,8 +444,8 @@
return DefWindowProc (hwnd, Message, wParam, lParam);
}
-INT WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInst,
- LPSTR lpCmdLine, INT nCmdShow)
+INT WINAPI wWinMain (HINSTANCE hInstance, HINSTANCE hPrevInst,
+ LPTSTR lpCmdLine, INT nCmdShow)
{
int i;
WNDCLASSEXW WndClass = {0};
Modified: trunk/rosapps/gettype/gettype.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/gettype/gettype.c?rev=2824…
==============================================================================
--- trunk/rosapps/gettype/gettype.c (original)
+++ trunk/rosapps/gettype/gettype.c Wed Aug 8 20:41:25 2007
@@ -226,7 +226,7 @@
}
INT
-main (VOID)
+_tmain (VOID)
{
DWORD Operations = 0;
INT ret = 255;
Modified: trunk/rosapps/imagesoft/imagesoft.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/imagesoft/imagesoft.c?rev=…
==============================================================================
--- trunk/rosapps/imagesoft/imagesoft.c (original)
+++ trunk/rosapps/imagesoft/imagesoft.c Wed Aug 8 20:41:25 2007
@@ -4,9 +4,9 @@
HANDLE ProcessHeap;
int WINAPI
-WinMain(HINSTANCE hThisInstance,
+_tWinMain(HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
- LPSTR lpCmdLine,
+ LPTSTR lpCmdLine,
int nCmdShow)
{
LPTSTR lpAppName, lpVersion, lpTitle;
Modified: trunk/rosapps/screenshot/screenshot.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/screenshot/screenshot.c?re…
==============================================================================
--- trunk/rosapps/screenshot/screenshot.c (original)
+++ trunk/rosapps/screenshot/screenshot.c Wed Aug 8 20:41:25 2007
@@ -334,9 +334,9 @@
// INT WINAPI GetScreenshot(BOOL bFullScreen)
-int WINAPI WinMain(HINSTANCE hInstance,
+int WINAPI _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
- PSTR szCmdLine,
+ LPTSTR szCmdLine,
int iCmdShow)
{
PSCREENSHOT pScrSht;
Modified: trunk/rosapps/sysutils/ctm/ctm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/sysutils/ctm/ctm.c?rev=282…
==============================================================================
--- trunk/rosapps/sysutils/ctm/ctm.c (original)
+++ trunk/rosapps/sysutils/ctm/ctm.c Wed Aug 8 20:41:25 2007
@@ -602,7 +602,7 @@
}
-int main(int argc, char **argv)
+int _tmain(int argc, char **argv)
{
int i;
TCHAR lpStr[80];
Modified: trunk/rosapps/winver/winver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/winver/winver.c?rev=28247&…
==============================================================================
--- trunk/rosapps/winver/winver.c (original)
+++ trunk/rosapps/winver/winver.c Wed Aug 8 20:41:25 2007
@@ -1,7 +1,7 @@
#include <windows.h>
#include <tchar.h>
-int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int
nCmdShow) {
+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);