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

svn path=/trunk/; revision=68060
This commit is contained in:
Amine Khaldi 2015-06-07 13:01:46 +00:00
parent 62aa5d355b
commit 36447efe6e
2 changed files with 3 additions and 0 deletions

View file

@ -32,6 +32,7 @@ extern "C" {
$define(UCHAR=UCHAR)
$define(ULONG=ULONG)
$define(USHORT=USHORT)
/* Dependencies */
#include <ntddk.h>

View file

@ -76,7 +76,9 @@ __drv_Mode_impl(WDM_INCLUDED)
extern "C" {
#endif
$define(UCHAR=UCHAR)
$define(ULONG=ULONG)
$define(USHORT=USHORT)
#if !defined(_NTHALDLL_) && !defined(_BLDR_)
#define NTHALAPI DECLSPEC_IMPORT