I checked this with MS DDK and its "wdm.h" file also defines no types and depends on a previously included "ntddk.h" by the driver.
svn path=/trunk/; revision=32519
#ifndef PORTCLS_H
#define PORTCLS_H
+//#include <windef.h>
+#include <ks.h>
+#include <punknown.h>
+#include <ntddk.h>
+#include <drmk.h>
+
#ifdef __cplusplus
extern "C"
{
#include <wdm.h>
#endif
-//#include <windef.h>
-#include <ks.h>
-#include <punknown.h>
-#include <ntddk.h>
-#include <drmk.h>
-
#ifndef PC_NO_IMPORTS
#define PORTCLASSAPI EXTERN_C __declspec(dllimport)
#else