summaryrefslogtreecommitdiff
path: root/general/pcidrv/kmdf/HW/precomp.h
blob: 851ce1f126b7ac84949ac10855bd492283dc988f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// precomp.h for pcidrv driver
//
#define WIN9X_COMPAT_SPINLOCK
#include <ntddk.h> 
#include <wdf.h>

typedef unsigned int        UINT;
typedef unsigned int        *PUINT;

#include <initguid.h> // required for GUID definitions
#include <wdmguid.h> // required for WMILIB_CONTEXT
#include <wmistr.h>
#include <wmilib.h>
#include <ntintsafe.h>


//
// Disable warnings that prevent our driver from compiling with /W4 MSC_WARNING_LEVEL
//
// Disable warning C4214: nonstandard extension used : bit field types other than int
// Disable warning C4201: nonstandard extension used : nameless struct/union
// Disable warning C4115: named type definition in parentheses
//
#pragma warning(disable:4214)
#pragma warning(disable:4201)
#pragma warning(disable:4115)

#include "ntddndis.h" // for OIDs

#pragma warning(default:4214)
#pragma warning(default:4201)
#pragma warning(default:4115)

#include "nuiouser.h" // for ioctls recevied from ndisedge
#include "public.h"

#include "e100_equ.h"
#include "e100_557.h"
#include "trace.h"
#include "nic_def.h"
#include "pcidrv.h"
#include "macros.h"