Author: hbelusca
Date: Sat Mar 14 15:37:00 2015
New Revision: 66705
URL:
http://svn.reactos.org/svn/reactos?rev=66705&view=rev
Log:
[FMIFS]: Reorganize a bit the inclusions, and always compile the DLL in UNICODE.
Modified:
trunk/reactos/dll/win32/fmifs/CMakeLists.txt
trunk/reactos/dll/win32/fmifs/init.c
trunk/reactos/dll/win32/fmifs/precomp.h
Modified: trunk/reactos/dll/win32/fmifs/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/fmifs/CMakeLists…
==============================================================================
--- trunk/reactos/dll/win32/fmifs/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/fmifs/CMakeLists.txt [iso-8859-1] Sat Mar 14 15:37:00 2015
@@ -18,7 +18,7 @@
${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
-set_module_type(fmifs win32dll ENTRYPOINT InitializeFmIfs 12)
+set_module_type(fmifs win32dll UNICODE ENTRYPOINT InitializeFmIfs 12)
add_importlibs(fmifs kernel32 ntdll)
add_pch(fmifs precomp.h SOURCE)
add_dependencies(fmifs psdk)
Modified: trunk/reactos/dll/win32/fmifs/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/fmifs/init.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/fmifs/init.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/fmifs/init.c [iso-8859-1] Sat Mar 14 15:37:00 2015
@@ -11,6 +11,8 @@
#include "precomp.h"
#include <winreg.h>
+
+#define NTOS_MODE_USER
#include <ndk/cmfuncs.h>
#include <ndk/obfuncs.h>
Modified: trunk/reactos/dll/win32/fmifs/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/fmifs/precomp.h?…
==============================================================================
--- trunk/reactos/dll/win32/fmifs/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/fmifs/precomp.h [iso-8859-1] Sat Mar 14 15:37:00 2015
@@ -13,16 +13,15 @@
/* INCLUDES ******************************************************************/
+#include <stdio.h>
+
#define WIN32_NO_STATUS
-#define NTOS_MODE_USER
-#define UNICODE
-#define _UNICODE
-
-#include <stdio.h>
/* PSDK/NDK Headers */
#include <windef.h>
#include <winbase.h>
+
+#define NTOS_MODE_USER
#include <ndk/rtlfuncs.h>
/* FMIFS Public Header */