ReactOS  0.4.15-dev-2700-g4b4ffa9
wdfinstaller.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  WdfInstaller.h
10 
11 Abstract:
12 
13  Contains prototypes for the WDF installer support.
14 
15 Author:
16 
17 Environment:
18 
19  kernel mode only
20 
21 Revision History:
22 
23 --*/
24 
25 //
26 // NOTE: This header is generated by stubwork. Please make any
27 // modifications to the corresponding template files
28 // (.x or .y) and use stubwork to regenerate the header
29 //
30 
31 #ifndef _WDFINSTALLER_H_
32 #define _WDFINSTALLER_H_
33 
34 #ifndef WDF_EXTERN_C
35  #ifdef __cplusplus
36  #define WDF_EXTERN_C extern "C"
37  #define WDF_EXTERN_C_START extern "C" {
38  #define WDF_EXTERN_C_END }
39  #else
40  #define WDF_EXTERN_C
41  #define WDF_EXTERN_C_START
42  #define WDF_EXTERN_C_END
43  #endif
44 #endif
45 
47 
48 
49 
50 #if (NTDDI_VERSION >= NTDDI_WIN2K)
51 
52 
53 
58 
60 VOID
63  )
64 {
65  RtlZeroMemory(ClientOptions, sizeof(WDF_COINSTALLER_INSTALL_OPTIONS));
66 
67  ClientOptions->Size = sizeof(WDF_COINSTALLER_INSTALL_OPTIONS);
68 }
69 
70 
71 //----------------------------------------------------------------------------
72 // To be called before (your) WDF driver is installed.
73 //----------------------------------------------------------------------------
74 ULONG
75 WINAPI
77  _In_ LPCWSTR InfPath,
78  _In_opt_ LPCWSTR InfSectionName
79  );
80 
81 typedef
82 ULONG
84  _In_ LPCWSTR InfPath,
85  _In_opt_ LPCWSTR InfSectionName
86  );
87 
88 ULONG
89 WINAPI
91  _In_ LPCWSTR InfPath,
92  _In_opt_ LPCWSTR InfSectionName,
94  );
95 
96 typedef
97 ULONG
99  _In_ LPCWSTR InfPath,
100  _In_opt_ LPCWSTR InfSectionName,
102  );
103 
104 //----------------------------------------------------------------------------
105 // To be called after (your) WDF driver is installed.
106 //----------------------------------------------------------------------------
107 ULONG
108 WINAPI
110  _In_ LPCWSTR InfPath,
111  _In_opt_ LPCWSTR InfSectionName
112  );
113 
114 typedef
115 ULONG
117  _In_ LPCWSTR InfPath,
118  _In_opt_ LPCWSTR InfSectionName
119  );
120 
121 //----------------------------------------------------------------------------
122 // To be called before (your) WDF driver is removed.
123 //----------------------------------------------------------------------------
124 ULONG
125 WINAPI
127  _In_ LPCWSTR InfPath,
128  _In_opt_ LPCWSTR InfSectionName
129 
130  );
131 
132 typedef
133 ULONG
135  _In_ LPCWSTR InfPath,
136  _In_opt_ LPCWSTR InfSectionName
137  );
138 
139 //----------------------------------------------------------------------------
140 // To be called after (your) WDF driver is removed.
141 //----------------------------------------------------------------------------
142 ULONG
143 WINAPI
145  _In_ LPCWSTR InfPath,
146  _In_opt_ LPCWSTR InfSectionName
147  );
148 
149 typedef
150 ULONG
152  _In_ LPCWSTR InfPath,
153  _In_opt_ LPCWSTR InfSectionName
154 
155  );
156 
157 
158 
159 #endif // (NTDDI_VERSION >= NTDDI_WIN2K)
160 
161 
163 
164 #endif // _WDFINSTALLER_H_
165 
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
ULONG(WINAPI * PFN_WDFPOSTDEVICEINSTALL)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:116
ULONG(WINAPI * PFN_WDFPREDEVICEREMOVE)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:134
FORCEINLINE VOID WDF_COINSTALLER_INSTALL_OPTIONS_INIT(_Out_ PWDF_COINSTALLER_INSTALL_OPTIONS ClientOptions)
Definition: wdfinstaller.h:61
#define WDF_EXTERN_C_END
Definition: wdfinstaller.h:42
ULONG(WINAPI * PFN_WDFPREDEVICEINSTALL)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:83
#define _In_opt_
Definition: no_sal2.h:212
ULONG WINAPI WdfPostDeviceInstall(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
unsigned int BOOL
Definition: ntddk_ex.h:94
#define _Out_
Definition: no_sal2.h:160
WDF_EXTERN_C_START struct _WDF_COINSTALLER_INSTALL_OPTIONS * PWDF_COINSTALLER_INSTALL_OPTIONS
#define WDF_EXTERN_C_START
Definition: wdfinstaller.h:41
ULONG(WINAPI * PFN_WDFPREDEVICEINSTALLEX)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName, _In_ PWDF_COINSTALLER_INSTALL_OPTIONS ClientOptions)
Definition: wdfinstaller.h:98
WDF_EXTERN_C_START struct _WDF_COINSTALLER_INSTALL_OPTIONS WDF_COINSTALLER_INSTALL_OPTIONS
#define WINAPI
Definition: msvc.h:6
ULONG WINAPI WdfPreDeviceRemove(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
ULONG WINAPI WdfPreDeviceInstall(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
#define _In_
Definition: no_sal2.h:158
ULONG WINAPI WdfPostDeviceRemove(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
#define FORCEINLINE
Definition: wdftypes.h:67
ULONG WINAPI WdfPreDeviceInstallEx(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName, _In_ PWDF_COINSTALLER_INSTALL_OPTIONS ClientOptions)
ULONG(WINAPI * PFN_WDFPOSTDEVICEREMOVE)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:151
unsigned int ULONG
Definition: retypes.h:1
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262