Fix some various unicode problems

svn path=/trunk/; revision=33380
This commit is contained in:
Hervé Poussineau 2008-05-08 18:26:15 +00:00
parent 4198aafc54
commit 618eb75c49
9 changed files with 22 additions and 22 deletions

View file

@ -220,9 +220,9 @@ DxDiagWndProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
return 0; return 0;
} }
int APIENTRY WinMain(HINSTANCE hInstance, int APIENTRY wWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, LPWSTR lpCmdLine,
int nCmdShow) int nCmdShow)
{ {

View file

@ -798,9 +798,9 @@ CreateApplicationWindow(VOID)
} }
int WINAPI int WINAPI
WinMain(HINSTANCE hInstance, _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, LPTSTR lpszCmdLine,
int nCmdShow) int nCmdShow)
{ {
MSG Msg; MSG Msg;

View file

@ -185,7 +185,7 @@ BOOL LoadLogFiles(HKEY eventlogKey)
return TRUE; return TRUE;
} }
INT main() INT wmain()
{ {
WCHAR LogPath[MAX_PATH]; WCHAR LogPath[MAX_PATH];
INT RetCode = 0; INT RetCode = 0;

View file

@ -2191,7 +2191,7 @@ ServiceMain(DWORD argc, LPTSTR *argv)
int int
main(int argc, char *argv[]) wmain(int argc, WCHAR *argv[])
{ {
DWORD dwError; DWORD dwError;

View file

@ -1030,9 +1030,9 @@ CreateWizard(VOID)
} }
int WINAPI int WINAPI
WinMain(HINSTANCE hInstance, wWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, LPWSTR lpszCmdLine,
int nCmdShow) int nCmdShow)
{ {

View file

@ -55,10 +55,10 @@ ServiceMain(
} }
INT WINAPI INT WINAPI
WinMain( wWinMain(
IN HINSTANCE hInstance, IN HINSTANCE hInstance,
IN HINSTANCE hPrevInstance, IN HINSTANCE hPrevInstance,
IN LPSTR lpCmdLine, IN LPWSTR lpCmdLine,
IN INT nShowCmd) IN INT nShowCmd)
{ {
NTSTATUS Status = STATUS_SUCCESS; NTSTATUS Status = STATUS_SUCCESS;

View file

@ -247,10 +247,10 @@ void DisplayMessage(BOOL bConsole, BOOL bSilent, LPCTSTR lpMessage, LPCTSTR lpTi
_tprintf(_T("%s: %s\n\n"),lpTitle,lpMessage); _tprintf(_T("%s: %s\n\n"),lpTitle,lpMessage);
} }
int WINAPI WinMain( int WINAPI _tWinMain(
HINSTANCE hInstance, HINSTANCE hInstance,
HINSTANCE hPrevInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLineA, LPTSTR lpCmdLine,
int nCmdShow int nCmdShow
) )
{ {

View file

@ -331,10 +331,10 @@ ATOM RegisterBlankClass(HINSTANCE hInstance, HINSTANCE hPrevInstance)
return Ret; return Ret;
} }
int WINAPI WinMain( int WINAPI _tWinMain(
HINSTANCE hInstance, HINSTANCE hInstance,
HINSTANCE hPrevInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLineA, LPTSTR lpCmdLine,
int nCmdShow int nCmdShow
) )
{ {

View file

@ -39,9 +39,9 @@ VOID EnableFileMenuItemByID(UINT Id, BOOL Enable);
VOID CheckLocalEchoMenuItem(BOOL Checked); VOID CheckLocalEchoMenuItem(BOOL Checked);
VOID Rs232Thread(VOID* Parameter); VOID Rs232Thread(VOID* Parameter);
int APIENTRY WinMain(HINSTANCE hInstance, int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, LPTSTR lpCmdLine,
int nCmdShow) int nCmdShow)
{ {
// TODO: Place code here. // TODO: Place code here.