Author: spetreolle
Date: Sat Nov 7 10:41:56 2015
New Revision: 69827
URL:
http://svn.reactos.org/svn/reactos?rev=69827&view=rev
Log:
[GDIHV]
Don't define UNICODE in source.
Modified:
trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt
trunk/rosapps/applications/devutils/gdihv/gdihv.c
trunk/rosapps/applications/devutils/gdihv/gdihv.h
Modified: trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/gdih…
==============================================================================
--- trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/gdihv/CMakeLists.txt [iso-8859-1] Sat Nov 7
10:41:56 2015
@@ -7,6 +7,6 @@
proclist.c)
add_executable(gdihv ${SOURCE})
-set_module_type(gdihv win32cui)
+set_module_type(gdihv win32cui UNICODE)
add_importlibs(gdihv user32 comctl32 psapi msvcrt kernel32)
add_cd_file(TARGET gdihv DESTINATION reactos/system32 FOR all)
Modified: trunk/rosapps/applications/devutils/gdihv/gdihv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/gdih…
==============================================================================
--- trunk/rosapps/applications/devutils/gdihv/gdihv.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/gdihv/gdihv.c [iso-8859-1] Sat Nov 7 10:41:56
2015
@@ -34,9 +34,9 @@
return pPeb->GdiSharedHandleTable;
}
-int WINAPI WinMain (HINSTANCE hThisInstance,
+int WINAPI _tWinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
- LPSTR lpszArgument,
+ LPTSTR lpszArgument,
int nStyle)
{
Modified: trunk/rosapps/applications/devutils/gdihv/gdihv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/gdih…
==============================================================================
--- trunk/rosapps/applications/devutils/gdihv/gdihv.h [iso-8859-1] (original)
+++ trunk/rosapps/applications/devutils/gdihv/gdihv.h [iso-8859-1] Sat Nov 7 10:41:56
2015
@@ -1,8 +1,7 @@
#ifndef _GDIHV_H
#define _GDIHV_H
-#define UNICODE
-
+#include <tchar.h>
#define WIN32_NO_STATUS
#include <windows.h>
#include <commctrl.h>