ReactOS  0.4.15-dev-1638-gc0caa5c
wdfminiport.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft Corporation. All rights reserved.
4 
5 _WdfVersionBuild_
6 
7 Module Name:
8 
9  wdfminiport.h
10 
11 Abstract:
12 
13  Interfaces for WDF usage in a miniport environment
14 
15 Environment:
16 
17  kernel mode only
18 
19 Revision 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 //
55 typedef
58 WDFAPI
60 (STDCALL *PFN_WDFDEVICEMINIPORTCREATE)(
61  _In_
63  _In_
64  WDFDRIVER Driver,
65  _In_opt_
67  _In_
69  _In_opt_
71  _In_opt_
73  _Out_
74  WDFDEVICE* Device
75  );
76 
81 WdfDeviceMiniportCreate(
82  _In_
83  WDFDRIVER Driver,
84  _In_opt_
86  _In_
88  _In_opt_
90  _In_opt_
92  _Out_
93  WDFDEVICE* Device
94  )
95 {
97 }
98 
99 //
100 // WDF Function: WdfDriverMiniportUnload
101 //
102 typedef
103 WDFAPI
104 VOID
106  _In_
108  _In_
109  WDFDRIVER Driver
110  );
111 
113 VOID
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 WDF_EXTERN_C_END
Definition: wdfminiport.h:40
#define _Must_inspect_result_
Definition: no_sal2.h:62
LONG NTSTATUS
Definition: precomp.h:26
WDFFUNC WdfDriverMiniportUnloadOverride
#define WDF_EXTERN_C_START
Definition: wdfminiport.h:39
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:64
DriverGlobals
#define _In_opt_
Definition: no_sal2.h:212
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
Definition: wdfminiport.h:64
#define WdfFunctions
Definition: wdf.h:66
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
#define WDFAPI
Definition: wdftypes.h:53
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:64
#define _Out_
Definition: no_sal2.h:160
FORCEINLINE VOID WdfDriverMiniportUnload(_In_ WDFDRIVER Driver)
Definition: wdfminiport.h:114
PWDF_DRIVER_GLOBALS WdfDriverGlobals
#define STDCALL
Definition: wdf.h:45
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfminiport.h:64
#define NTSTATUS
Definition: precomp.h:20
#define VOID
Definition: acefi.h:82
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define _In_
Definition: no_sal2.h:158
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:64
#define FORCEINLINE
Definition: wdftypes.h:67
WDF_EXTERN_C_START typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFDEVICEMINIPORTCREATE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
Definition: Messaging.c:64
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT DeviceObject
Definition: wdfminiport.h:64
WDFAPI VOID(STDCALL * PFN_WDFDRIVERMINIPORTUNLOAD)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFDRIVER Driver)
Definition: wdfminiport.h:105
_Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfcontrol.h:83
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes