mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[SMDLL]
* Include NDK headers on-demand. * Introduce a PCH. svn path=/trunk/; revision=53234
This commit is contained in:
@@ -14,6 +14,7 @@ add_library(smdll SHARED ${SOURCE})
|
||||
target_link_libraries(smdll smlib)
|
||||
set_entrypoint(smdll DllMainCRTStartup 12)
|
||||
add_importlibs(smdll ntdll)
|
||||
add_pch(smdll precomp.h)
|
||||
add_dependencies(smdll psdk)
|
||||
add_cd_file(TARGET smdll DESTINATION reactos/system32 FOR all)
|
||||
add_importlib_target(smdll.spec)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* PURPOSE: SM Helper Library
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include <precomp.h>
|
||||
|
||||
BOOL WINAPI DllMainCRTStartup(HANDLE hinstDll, DWORD fdwReason, LPVOID fImpLoad)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#define WIN32_NO_STATUS
|
||||
#include <windows.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/lpctypes.h>
|
||||
#include <ndk/lpcfuncs.h>
|
||||
#include <sm/helper.h>
|
||||
@@ -5,11 +5,8 @@
|
||||
* FILE: lib/smdll/query.c
|
||||
* PURPOSE: Call SM API SM_API_QUERY_INFORMATION (not in NT)
|
||||
*/
|
||||
#define WIN32_NO_STATUS
|
||||
#include <windows.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ndk/ntndk.h>
|
||||
#include <sm/helper.h>
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
Reference in New Issue
Block a user