dxdiag: Make dxdiag a Unicode rather than ANSI program.

This commit is contained in:
Austin English 2009-08-26 15:40:40 -05:00 committed by Alexandre Julliard
parent 262e1bfa92
commit 1b5167f1cb
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = dxdiag.exe MODULE = dxdiag.exe
APPMODE = -mwindows APPMODE = -mwindows -municode
IMPORTS = kernel32 IMPORTS = kernel32
C_SRCS = \ C_SRCS = \

View File

@ -20,8 +20,9 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#include "wine/unicode.h"
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow) int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cmdshow)
{ {
return 0; return 0;
} }