use unicode directive

svn path=/trunk/; revision=28247
This commit is contained in:
Sylvain Petreolle 2007-08-08 16:41:25 +00:00
parent c03ea6d0ce
commit 812a9e4d7b
6 changed files with 9 additions and 9 deletions

View file

@ -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};

View file

@ -226,7 +226,7 @@ GetBasicInfo(LPOSVERSIONINFOEX osvi, TCHAR * HostName, TCHAR * OSName, TCHAR * V
}
INT
main (VOID)
_tmain (VOID)
{
DWORD Operations = 0;
INT ret = 255;

View file

@ -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;

View file

@ -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;

View file

@ -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];

View file

@ -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);