ReactOS 0.4.15-dev-7674-gc0b4db1
wdfminiport.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation. All rights reserved.
4
5_WdfVersionBuild_
6
7Module Name:
8
9 wdfminiport.h
10
11Abstract:
12
13 Interfaces for WDF usage in a miniport environment
14
15Environment:
16
17 kernel mode only
18
19Revision History:
20
21--*/
22
23//
24// NOTE: This header is generated by stubwork. Please make any
25// modifications to the corresponding template files
26// (.x or .y) and use stubwork to regenerate the header
27//
28
29#ifndef _WDFMINIPORT_H_
30#define _WDFMINIPORT_H_
31
32#ifndef WDF_EXTERN_C
33 #ifdef __cplusplus
34 #define WDF_EXTERN_C extern "C"
35 #define WDF_EXTERN_C_START extern "C" {
36 #define WDF_EXTERN_C_END }
37 #else
38 #define WDF_EXTERN_C
39 #define WDF_EXTERN_C_START
40 #define WDF_EXTERN_C_END
41 #endif
42#endif
43
45
46
47
48#if (NTDDI_VERSION >= NTDDI_WIN2K)
49
50
51
52//
53// WDF Function: WdfDeviceMiniportCreate
54//
55typedef
60(STDCALL *PFN_WDFDEVICEMINIPORTCREATE)(
61 _In_
63 _In_
64 WDFDRIVER Driver,
67 _In_
73 _Out_
74 WDFDEVICE* Device
75 );
76
81WdfDeviceMiniportCreate(
82 _In_
83 WDFDRIVER Driver,
86 _In_
92 _Out_
93 WDFDEVICE* Device
94 )
95{
97}
98
99//
100// WDF Function: WdfDriverMiniportUnload
101//
102typedef
103WDFAPI
106 _In_
108 _In_
109 WDFDRIVER Driver
110 );
111
113VOID
115 _In_
116 WDFDRIVER Driver
117 )
118{
120}
121
122
123
124#endif // (NTDDI_VERSION >= NTDDI_WIN2K)
125
126
128
129#endif // _WDFMINIPORT_H_
130
#define VOID
Definition: acefi.h:82
LONG NTSTATUS
Definition: precomp.h:26
#define NTSTATUS
Definition: precomp.h:21
#define _IRQL_requires_max_(irql)
Definition: driverspecs.h:230
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
DriverGlobals
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define STDCALL
Definition: wdf.h:45
WDFFUNC WdfDriverMiniportUnloadOverride
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfcontrol.h:83
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfDeviceMiniportCreateTableIndex
Definition: wdffuncenum.h:225
#define WDF_EXTERN_C_END
Definition: wdfminiport.h:40
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT DeviceObject
Definition: wdfminiport.h:68
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _Out_ WDFDEVICE * Device
Definition: wdfminiport.h:75
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
Definition: wdfminiport.h:66
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfminiport.h:64
#define WDF_EXTERN_C_START
Definition: wdfminiport.h:39
FORCEINLINE VOID WdfDriverMiniportUnload(_In_ WDFDRIVER Driver)
Definition: wdfminiport.h:114
WDFAPI VOID(STDCALL * PFN_WDFDRIVERMINIPORTUNLOAD)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFDRIVER Driver)
Definition: wdfminiport.h:105
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT AttachedDeviceObject
Definition: wdfminiport.h:70
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo
Definition: wdfminiport.h:72
#define WDFAPI
Definition: wdftypes.h:53
#define FORCEINLINE
Definition: wdftypes.h:67