Build smdll with NDK

svn path=/trunk/; revision=16169
This commit is contained in:
Alex Ionescu 2005-06-20 19:33:08 +00:00
parent 0856013938
commit b19d74062e
2 changed files with 3 additions and 3 deletions

View file

@ -6,8 +6,7 @@
* PURPOSE: SM Helper Library * PURPOSE: SM Helper Library
*/ */
#define NTOS_MODE_USER #include <windows.h>
#include <ntos.h>
BOOL STDCALL DllMain(HANDLE hinstDll, DWORD fdwReason, LPVOID fImpLoad) BOOL STDCALL DllMain(HANDLE hinstDll, DWORD fdwReason, LPVOID fImpLoad)
{ {

View file

@ -5,8 +5,9 @@
* FILE: lib/smdll/query.c * FILE: lib/smdll/query.c
* PURPOSE: Call SM API SM_API_QUERY_INFORMATION (not in NT) * PURPOSE: Call SM API SM_API_QUERY_INFORMATION (not in NT)
*/ */
#include <windows.h>
#define NTOS_MODE_USER #define NTOS_MODE_USER
#include <ntos.h> #include <ndk/ntndk.h>
#include <sm/helper.h> #include <sm/helper.h>
#define NDEBUG #define NDEBUG