Fix portcls build, broken in r32517, by moving the header inclusion order in "portcls.h" around.

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
This commit is contained in:
Colin Finck 2008-02-27 22:47:56 +00:00
parent 2fad0ee98f
commit 19d6003deb

View file

@ -123,6 +123,12 @@
#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"
{
@ -132,12 +138,6 @@ 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