[XDK] Add some workarounds for the UM/KM types mismatches.

svn path=/trunk/; revision=68057
This commit is contained in:
Amine Khaldi 2015-06-07 09:28:56 +00:00
parent 725b5f5a6e
commit 42d76b52a0
2 changed files with 5 additions and 0 deletions

View file

@ -30,6 +30,9 @@
extern "C" {
#endif
$define(UCHAR=UCHAR)
$define(ULONG=ULONG)
/* Dependencies */
#include <ntddk.h>
#include <excpt.h>

View file

@ -76,6 +76,8 @@ __drv_Mode_impl(WDM_INCLUDED)
extern "C" {
#endif
$define(ULONG=ULONG)
#if !defined(_NTHALDLL_) && !defined(_BLDR_)
#define NTHALAPI DECLSPEC_IMPORT
#else