summaryrefslogtreecommitdiff
path: root/network/wlan/wificx/drivercode/precomp.h
blob: 1b0f808e06117b35b3f4758217fccec8f7ed03ea (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
// Copyright (C) Microsoft Corporation. All rights reserved.
#pragma once

#ifdef _KERNEL_MODE
    #include <ntddk.h>
#else
    #include <windows.h>
    #include <ndis/types.h> // For NDIS_STATUS
    #include <ndis/status.h> // For NDIS_STATUS codes
    #include <ntddndis.h>
#endif
// WDF Headers
#include <wdf.h>

// Network Device Headers
#include <netadaptercx.h>
#include <netiodef.h>

// WIFI Device Headers
#include <wificx.h>
#include "umkmfusion.h"
#include "dot11wificxintf.h"
#include "dot11wificxtypes.hpp"
#include "TLVGeneratorParser.hpp"
#include "SharedTypes.h"

// WPP Tracing Headers
#include "trace.h"

// Minimal placement-new to match operator new(size_t, void*)
// TLV generator/parser memory interface has the ULONG_PTR version
inline void* operator new(size_t, void* p) noexcept { return p; }
inline void  operator delete(void*, void*) noexcept { /* no-op */ }