ReactOS
0.4.16-dev-852-gcfcc8d8
wdf.h
Go to the documentation of this file.
1
/*++
2
3
Copyright (c) Microsoft Corporation. All rights reserved.
4
5
Module Name:
6
7
wdf.h
8
9
Abstract:
10
11
Main header file for Windows Driver Frameworks
12
13
Environment:
14
15
kernel mode only
16
17
Revision History:
18
19
--*/
20
21
//
22
// NOTE: This header is generated by stubwork. Please make any
23
// modifications to the corresponding template files
24
// (.x or .y) and use stubwork to regenerate the header
25
//
26
27
#ifndef _WDF_H_
28
#define _WDF_H_
29
30
#ifndef WDF_EXTERN_C
31
#ifdef __cplusplus
32
#define WDF_EXTERN_C extern "C"
33
#define WDF_EXTERN_C_START extern "C"
{
34
#define WDF_EXTERN_C_END }
35
#else
36
#define WDF_EXTERN_C
37
#define WDF_EXTERN_C_START
38
#define WDF_EXTERN_C_END
39
#endif
40
#endif
41
42
// reactos start
43
#include <
sal.h
>
44
#include <
section_attribs.h
>
45
#define STDCALL __stdcall
46
// reactos end
47
48
WDF_EXTERN_C_START
49
50
51
52
#ifndef _Dispatch_type_
53
#include <
driverspecs.h
>
54
#endif
55
56
57
58
59
60
//
61
// Rename WdfFunctions to match version number. Build issues relating to
62
// unresolved externals of WdfFunctions or WdfFunctions_XXXXX indicate
63
// multiple WDF versions are being included. Ensure WDF version of all input
64
// binaries match to resolve.
65
//
66
#define WdfFunctions WdfFunctions_01017
67
68
typedef
VOID
(*
WDFFUNC
) (
VOID
);
69
extern
const
WDFFUNC
*
WdfFunctions
;
70
extern
WDFFUNC
WdfDriverMiniportUnloadOverride
;
71
72
_Analysis_mode_
(KMDF_INCLUDED)
73
74
// Basic definitions
75
#include "wdftypes.h"
76
#include "
wdfglobals.h
"
77
#include "
wdffuncenum.h
"
78
#include "
wdfstatus.h
"
79
#include "
wdfassert.h
"
80
#include "
wdfverifier.h
"
81
#include "
wdfpool.h
"
82
83
// generic object
84
#include "
wdfobject.h
"
85
86
// Synchronization
87
#include "
wdfsync.h
"
88
89
#include "
wdfcore.h
"
90
91
#include "
wdfdriver.h
"
92
93
// Objects
94
#include "
wdfqueryinterface.h
"
95
#include "
wdfmemory.h
"
96
#include "
wdfchildlist.h
"
97
#include "
wdffileobject.h
"
98
#include "
wdfdevice.h
"
99
#include "
wdfcollection.h
"
100
#include "
wdfdpc.h
"
101
#include "
wdftimer.h
"
102
#include "
wdfworkitem.h
"
103
#include "
wdfinterrupt.h
"
104
#include "
wdfresource.h
"
105
106
// I/O
107
#include "
wdfrequest.h
"
108
#include "
wdfiotarget.h
"
109
#include "
wdfio.h
"
110
111
// particular device types
112
#include "
wdffdo.h
"
113
#include "
wdfpdo.h
"
114
#include "
wdfcontrol.h
"
115
116
#include "
wdfwmi.h
"
117
118
#include "
wdfstring.h
"
119
#include "
wdfregistry.h
"
120
121
// Dma
122
#include "
wdfdmaenabler.h
"
123
#include "
wdfdmatransaction.h
"
124
#include "
wdfcommonbuffer.h
"
125
126
#include "
wdfbugcodes.h
"
127
#include "
wdfroletypes.h
"
128
#include "
wdfhwaccess.h
"
129
130
131
132
133
WDF_EXTERN_C_END
134
135
#endif
// _WDF_H_
136
VOID
#define VOID
Definition:
acefi.h:82
driverspecs.h
_Analysis_mode_
#define _Analysis_mode_(m)
Definition:
no_sal2.h:390
sal.h
section_attribs.h
WDF_EXTERN_C_END
#define WDF_EXTERN_C_END
Definition:
wdf.h:38
WDFFUNC
VOID(* WDFFUNC)(VOID)
Definition:
wdf.h:68
WdfDriverMiniportUnloadOverride
WDFFUNC WdfDriverMiniportUnloadOverride
WdfFunctions
#define WdfFunctions
Definition:
wdf.h:66
WDF_EXTERN_C_START
#define WDF_EXTERN_C_START
Definition:
wdf.h:37
wdfassert.h
wdfbugcodes.h
wdfchildlist.h
wdfcollection.h
wdfcommonbuffer.h
wdfcontrol.h
wdfcore.h
wdfdevice.h
wdfdmaenabler.h
wdfdmatransaction.h
wdfdpc.h
wdfdriver.h
wdffdo.h
wdffileobject.h
wdffuncenum.h
wdfglobals.h
wdfhwaccess.h
wdfinterrupt.h
wdfio.h
wdfiotarget.h
wdfmemory.h
wdfobject.h
wdfpdo.h
wdfpool.h
wdfqueryinterface.h
wdfregistry.h
wdfrequest.h
wdfresource.h
wdfroletypes.h
wdfstatus.h
wdfstring.h
wdfsync.h
wdftimer.h
wdfverifier.h
wdfwmi.h
wdfworkitem.h
sdk
include
wdf
kmdf
1.17
wdf.h
Generated on Sun Mar 23 2025 06:13:09 for ReactOS by
1.9.6