* Remove one time inclusions from the main header and put them back where they belong.
* Include what we need from the NDK instead of the whole set.
CORE-7716
svn path=/trunk/; revision=61519
#ifndef __BASESRV_H__
#define __BASESRV_H__
-#pragma once
-
/* PSDK/NDK Headers */
-#include <stdarg.h>
+#include <stdio.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <windef.h>
#include <winbase.h>
-#include <winreg.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/psfuncs.h>
+#include <ndk/exfuncs.h>
+#include <ndk/umfuncs.h>
/* PSEH for SEH Support */
#include <pseh/pseh2.h>
extern HANDLE BaseSrvSharedHeap;
extern PBASE_STATIC_SERVER_DATA BaseStaticServerData;
-#endif // __BASESRV_H__
-
-/* EOF */
+#endif /* __BASESRV_H__ */
/* INCLUDES *******************************************************************/
#include "basesrv.h"
-#include "api.h"
+
+#include <winreg.h>
#define NDEBUG
#include <debug.h>
+#include "api.h"
+
/* GLOBALS ********************************************************************/
HANDLE BaseSrvDllInstance = NULL;
#include "basesrv.h"
+#include <ndk/mmfuncs.h>
+
#define NDEBUG
#include <debug.h>