mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[FMIFS]: Reorganize a bit the inclusions, and always compile the DLL in UNICODE.
svn path=/trunk/; revision=66705
This commit is contained in:
parent
f2c994e17e
commit
9756db83c9
|
@ -18,7 +18,7 @@ add_library(fmifs SHARED
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
|
${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_importlibs(fmifs kernel32 ntdll)
|
||||||
add_pch(fmifs precomp.h SOURCE)
|
add_pch(fmifs precomp.h SOURCE)
|
||||||
add_dependencies(fmifs psdk)
|
add_dependencies(fmifs psdk)
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
|
||||||
#include <winreg.h>
|
#include <winreg.h>
|
||||||
|
|
||||||
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/cmfuncs.h>
|
#include <ndk/cmfuncs.h>
|
||||||
#include <ndk/obfuncs.h>
|
#include <ndk/obfuncs.h>
|
||||||
|
|
||||||
|
|
|
@ -13,16 +13,15 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#define WIN32_NO_STATUS
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#define UNICODE
|
|
||||||
#define _UNICODE
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
|
||||||
/* PSDK/NDK Headers */
|
/* PSDK/NDK Headers */
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
|
|
||||||
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/rtlfuncs.h>
|
#include <ndk/rtlfuncs.h>
|
||||||
|
|
||||||
/* FMIFS Public Header */
|
/* FMIFS Public Header */
|
||||||
|
|
Loading…
Reference in a new issue