From 812a9e4d7b444d7ce8da73850e003a31ff4f8fe8 Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Wed, 8 Aug 2007 16:41:25 +0000 Subject: [PATCH 1/1] use unicode directive svn path=/trunk/; revision=28247 --- rosapps/downloader/main.c | 4 ++-- rosapps/gettype/gettype.c | 2 +- rosapps/imagesoft/imagesoft.c | 4 ++-- rosapps/screenshot/screenshot.c | 4 ++-- rosapps/sysutils/ctm/ctm.c | 2 +- rosapps/winver/winver.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rosapps/downloader/main.c b/rosapps/downloader/main.c index 12fc3a9d5da..f70ce3dcdb2 100644 --- a/rosapps/downloader/main.c +++ b/rosapps/downloader/main.c @@ -444,8 +444,8 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) 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}; diff --git a/rosapps/gettype/gettype.c b/rosapps/gettype/gettype.c index ea98d326e65..773ea651362 100644 --- a/rosapps/gettype/gettype.c +++ b/rosapps/gettype/gettype.c @@ -226,7 +226,7 @@ GetBasicInfo(LPOSVERSIONINFOEX osvi, TCHAR * HostName, TCHAR * OSName, TCHAR * V } INT -main (VOID) +_tmain (VOID) { DWORD Operations = 0; INT ret = 255; diff --git a/rosapps/imagesoft/imagesoft.c b/rosapps/imagesoft/imagesoft.c index 5672fc0a3af..8e62856a5a8 100644 --- a/rosapps/imagesoft/imagesoft.c +++ b/rosapps/imagesoft/imagesoft.c @@ -4,9 +4,9 @@ HINSTANCE hInstance; HANDLE ProcessHeap; int WINAPI -WinMain(HINSTANCE hThisInstance, +_tWinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLine, + LPTSTR lpCmdLine, int nCmdShow) { LPTSTR lpAppName, lpVersion, lpTitle; diff --git a/rosapps/screenshot/screenshot.c b/rosapps/screenshot/screenshot.c index ed83b3d6c95..d71d7f4aebf 100644 --- a/rosapps/screenshot/screenshot.c +++ b/rosapps/screenshot/screenshot.c @@ -334,9 +334,9 @@ ConvertDDBtoDIB(PSCREENSHOT pScrSht) // 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; diff --git a/rosapps/sysutils/ctm/ctm.c b/rosapps/sysutils/ctm/ctm.c index 4d69e563262..8c960a78d0c 100644 --- a/rosapps/sysutils/ctm/ctm.c +++ b/rosapps/sysutils/ctm/ctm.c @@ -602,7 +602,7 @@ unsigned int GetKeyPressed(int events) } -int main(int argc, char **argv) +int _tmain(int argc, char **argv) { int i; TCHAR lpStr[80]; diff --git a/rosapps/winver/winver.c b/rosapps/winver/winver.c index 8b6ad324b56..3514b26514c 100644 --- a/rosapps/winver/winver.c +++ b/rosapps/winver/winver.c @@ -1,7 +1,7 @@ #include #include -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); -- 2.17.1