Is there order to include WDK Header files?

Hi all,

I am seeing compile errors if I don’t include header files in proper order? Is there any speific order to use ?

Thanks,

Yes, there is

Get Outlook for Androidhttps:

________________________________
From: xxxxx@lists.osr.com on behalf of xxxxx@gmail.com
Sent: Thursday, October 20, 2016 6:34:39 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Is there order to include WDK Header files?

Hi all,

I am seeing compile errors if I don’t include header files in proper order? Is there any speific order to use ?

Thanks,


NTDEV is sponsored by OSR

Visit the list online at: http:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at http:

To unsubscribe, visit the List Server section of OSR Online at http:</http:></http:></http:></https:>

xxxxx@gmail.com wrote:

I am seeing compile errors if I don’t include header files in proper order? Is there any speific order to use ?

There are approximately 800 headers in the WDK. You don’t think it
would have been useful to tell us which ones were causing you concern?

wdk.h (or ntddk.h or ntifs.h) needs to be first. Most of the rest don’t
matter very much. There are some dependencies among the kernel
streaming headers.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.