859aeb302e904497c785efa16b331375315937cf
[reactos.git] / dll / win32 / fltlib / stubs.c
1 /*
2 * PROJECT: Filesystem Filter Manager library
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: dll/win32/fltlib/stubs.c
5 * PURPOSE:
6 * PROGRAMMERS: Ged Murphy (ged.murphy@reactos.org)
7 */
8
9 #include <stdarg.h>
10 #include "windef.h"
11 #include "winbase.h"
12
13 #include <fltuser.h>
14
15 #include "wine/debug.h"
16
17 WINE_DEFAULT_DEBUG_CHANNEL(fltlib);
18
19
20 _Must_inspect_result_
21 HRESULT
22 WINAPI
23 FilterCreate(_In_ LPCWSTR lpFilterName,
24 _Outptr_ HFILTER *hFilter)
25 {
26 UNREFERENCED_PARAMETER(lpFilterName);
27 UNREFERENCED_PARAMETER(hFilter);
28 return E_NOTIMPL;
29 }
30
31 HRESULT
32 WINAPI
33 FilterClose(_In_ HFILTER hFilter)
34 {
35 UNREFERENCED_PARAMETER(hFilter);
36 return E_NOTIMPL;
37 }
38
39 _Must_inspect_result_
40 HRESULT
41 WINAPI
42 FilterInstanceCreate(_In_ LPCWSTR lpFilterName,
43 _In_ LPCWSTR lpVolumeName,
44 _In_opt_ LPCWSTR lpInstanceName,
45 _Outptr_ HFILTER_INSTANCE *hInstance)
46 {
47 UNREFERENCED_PARAMETER(lpFilterName);
48 UNREFERENCED_PARAMETER(lpVolumeName);
49 UNREFERENCED_PARAMETER(lpInstanceName);
50 UNREFERENCED_PARAMETER(hInstance);
51 return E_NOTIMPL;
52 }
53
54 HRESULT
55 WINAPI
56 FilterInstanceClose(_In_ HFILTER_INSTANCE hInstance)
57 {
58 UNREFERENCED_PARAMETER(hInstance);
59 return E_NOTIMPL;
60 }
61
62 _Must_inspect_result_
63 HRESULT
64 WINAPI
65 FilterAttach(_In_ LPCWSTR lpFilterName,
66 _In_ LPCWSTR lpVolumeName,
67 _In_opt_ LPCWSTR lpInstanceName,
68 _In_opt_ DWORD dwCreatedInstanceNameLength,
69 _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName)
70 {
71 UNREFERENCED_PARAMETER(lpFilterName);
72 UNREFERENCED_PARAMETER(lpVolumeName);
73 UNREFERENCED_PARAMETER(lpInstanceName);
74 UNREFERENCED_PARAMETER(dwCreatedInstanceNameLength);
75 UNREFERENCED_PARAMETER(lpCreatedInstanceName);
76 return E_NOTIMPL;
77 }
78
79 _Must_inspect_result_
80 HRESULT
81 WINAPI
82 FilterAttachAtAltitude(_In_ LPCWSTR lpFilterName,
83 _In_ LPCWSTR lpVolumeName,
84 _In_ LPCWSTR lpAltitude,
85 _In_opt_ LPCWSTR lpInstanceName,
86 _In_opt_ DWORD dwCreatedInstanceNameLength,
87 _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName)
88 {
89 UNREFERENCED_PARAMETER(lpFilterName);
90 UNREFERENCED_PARAMETER(lpVolumeName);
91 UNREFERENCED_PARAMETER(lpAltitude);
92 UNREFERENCED_PARAMETER(lpInstanceName);
93 UNREFERENCED_PARAMETER(dwCreatedInstanceNameLength);
94 UNREFERENCED_PARAMETER(lpCreatedInstanceName);
95 return E_NOTIMPL;
96 }
97
98 _Must_inspect_result_
99 HRESULT
100 WINAPI
101 FilterDetach(_In_ LPCWSTR lpFilterName,
102 _In_ LPCWSTR lpVolumeName,
103 _In_opt_ LPCWSTR lpInstanceName
104 )
105 {
106 UNREFERENCED_PARAMETER(lpFilterName);
107 UNREFERENCED_PARAMETER(lpVolumeName);
108 UNREFERENCED_PARAMETER(lpInstanceName);
109 return E_NOTIMPL;
110 }
111
112 _Must_inspect_result_
113 HRESULT
114 WINAPI
115 FilterFindFirst(_In_ FILTER_INFORMATION_CLASS dwInformationClass,
116 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
117 _In_ DWORD dwBufferSize,
118 _Out_ LPDWORD lpBytesReturned,
119 _Out_ LPHANDLE lpFilterFind)
120 {
121 UNREFERENCED_PARAMETER(dwInformationClass);
122 UNREFERENCED_PARAMETER(lpBuffer);
123 UNREFERENCED_PARAMETER(dwBufferSize);
124 UNREFERENCED_PARAMETER(lpBytesReturned);
125 UNREFERENCED_PARAMETER(lpFilterFind);
126 return E_NOTIMPL;
127 }
128
129 _Must_inspect_result_
130 HRESULT
131 WINAPI
132 FilterFindNext(_In_ HANDLE hFilterFind,
133 _In_ FILTER_INFORMATION_CLASS dwInformationClass,
134 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
135 _In_ DWORD dwBufferSize,
136 _Out_ LPDWORD lpBytesReturned)
137 {
138 UNREFERENCED_PARAMETER(hFilterFind);
139 UNREFERENCED_PARAMETER(dwInformationClass);
140 UNREFERENCED_PARAMETER(lpBuffer);
141 UNREFERENCED_PARAMETER(dwBufferSize);
142 UNREFERENCED_PARAMETER(lpBytesReturned);
143 return E_NOTIMPL;
144 }
145
146 _Must_inspect_result_
147 HRESULT
148 WINAPI
149 FilterFindClose(_In_ HANDLE hFilterFind)
150 {
151 UNREFERENCED_PARAMETER(hFilterFind);
152 return E_NOTIMPL;
153 }
154
155 _Must_inspect_result_
156 HRESULT
157 WINAPI
158 FilterVolumeFindFirst(_In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass,
159 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
160 _In_ DWORD dwBufferSize,
161 _Out_ LPDWORD lpBytesReturned,
162 _Out_ PHANDLE lpVolumeFind)
163 {
164 UNREFERENCED_PARAMETER(dwInformationClass);
165 UNREFERENCED_PARAMETER(lpBuffer);
166 UNREFERENCED_PARAMETER(dwBufferSize);
167 UNREFERENCED_PARAMETER(lpBytesReturned);
168 UNREFERENCED_PARAMETER(lpVolumeFind);
169 return E_NOTIMPL;
170 }
171
172 _Must_inspect_result_
173 HRESULT
174 WINAPI
175 FilterVolumeFindNext(_In_ HANDLE hVolumeFind,
176 _In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass,
177 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
178 _In_ DWORD dwBufferSize,
179 _Out_ LPDWORD lpBytesReturned)
180 {
181 UNREFERENCED_PARAMETER(hVolumeFind);
182 UNREFERENCED_PARAMETER(dwInformationClass);
183 UNREFERENCED_PARAMETER(lpBuffer);
184 UNREFERENCED_PARAMETER(dwBufferSize);
185 UNREFERENCED_PARAMETER(lpBytesReturned);
186 return E_NOTIMPL;
187 }
188
189 HRESULT
190 WINAPI
191 FilterVolumeFindClose(_In_ HANDLE hVolumeFind)
192 {
193 UNREFERENCED_PARAMETER(hVolumeFind);
194 return E_NOTIMPL;
195 }
196
197 _Must_inspect_result_
198 HRESULT
199 WINAPI
200 FilterInstanceFindFirst(_In_ LPCWSTR lpFilterName,
201 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
202 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
203 _In_ DWORD dwBufferSize,
204 _Out_ LPDWORD lpBytesReturned,
205 _Out_ LPHANDLE lpFilterInstanceFind)
206 {
207 UNREFERENCED_PARAMETER(lpFilterName);
208 UNREFERENCED_PARAMETER(dwInformationClass);
209 UNREFERENCED_PARAMETER(lpBuffer);
210 UNREFERENCED_PARAMETER(dwBufferSize);
211 UNREFERENCED_PARAMETER(lpBytesReturned);
212 UNREFERENCED_PARAMETER(lpFilterInstanceFind);
213 return E_NOTIMPL;
214 }
215
216 _Must_inspect_result_
217 HRESULT
218 WINAPI
219 FilterInstanceFindNext(_In_ HANDLE hFilterInstanceFind,
220 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
221 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
222 _In_ DWORD dwBufferSize,
223 _Out_ LPDWORD lpBytesReturned)
224 {
225
226 UNREFERENCED_PARAMETER(hFilterInstanceFind);
227 UNREFERENCED_PARAMETER(dwInformationClass);
228 UNREFERENCED_PARAMETER(lpBuffer);
229 UNREFERENCED_PARAMETER(dwBufferSize);
230 UNREFERENCED_PARAMETER(lpBytesReturned);
231 return E_NOTIMPL;
232 }
233
234 _Must_inspect_result_
235 HRESULT
236 WINAPI
237 FilterInstanceFindClose(_In_ HANDLE hFilterInstanceFind)
238 {
239 UNREFERENCED_PARAMETER(hFilterInstanceFind);
240 return E_NOTIMPL;
241 }
242
243 _Must_inspect_result_
244 HRESULT
245 WINAPI
246 FilterVolumeInstanceFindFirst(_In_ LPCWSTR lpVolumeName,
247 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
248 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
249 _In_ DWORD dwBufferSize,
250 _Out_ LPDWORD lpBytesReturned,
251 _Out_ LPHANDLE lpVolumeInstanceFind)
252 {
253 UNREFERENCED_PARAMETER(lpVolumeName);
254 UNREFERENCED_PARAMETER(dwInformationClass);
255 UNREFERENCED_PARAMETER(lpBuffer);
256 UNREFERENCED_PARAMETER(dwBufferSize);
257 UNREFERENCED_PARAMETER(lpBytesReturned);
258 UNREFERENCED_PARAMETER(lpVolumeInstanceFind);
259 return E_NOTIMPL;
260 }
261
262 _Must_inspect_result_
263 HRESULT
264 WINAPI
265 FilterVolumeInstanceFindNext(_In_ HANDLE hVolumeInstanceFind,
266 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
267 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
268 _In_ DWORD dwBufferSize,
269 _Out_ LPDWORD lpBytesReturned)
270 {
271 UNREFERENCED_PARAMETER(hVolumeInstanceFind);
272 UNREFERENCED_PARAMETER(dwInformationClass);
273 UNREFERENCED_PARAMETER(lpBuffer);
274 UNREFERENCED_PARAMETER(dwBufferSize);
275 UNREFERENCED_PARAMETER(lpBytesReturned);
276 return E_NOTIMPL;
277 }
278
279 HRESULT
280 WINAPI
281 FilterVolumeInstanceFindClose(_In_ HANDLE hVolumeInstanceFind)
282 {
283 UNREFERENCED_PARAMETER(hVolumeInstanceFind);
284 return E_NOTIMPL;
285 }
286
287 _Must_inspect_result_
288 HRESULT
289 WINAPI
290 FilterGetInformation(_In_ HFILTER hFilter,
291 _In_ FILTER_INFORMATION_CLASS dwInformationClass,
292 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
293 _In_ DWORD dwBufferSize,
294 _Out_ LPDWORD lpBytesReturned)
295 {
296 UNREFERENCED_PARAMETER(hFilter);
297 UNREFERENCED_PARAMETER(dwInformationClass);
298 UNREFERENCED_PARAMETER(lpBuffer);
299 UNREFERENCED_PARAMETER(dwBufferSize);
300 UNREFERENCED_PARAMETER(lpBytesReturned);
301 return E_NOTIMPL;
302 }
303
304 _Must_inspect_result_
305 HRESULT
306 WINAPI
307 FilterInstanceGetInformation(_In_ HFILTER_INSTANCE hInstance,
308 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
309 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer,
310 _In_ DWORD dwBufferSize,
311 _Out_ LPDWORD lpBytesReturned)
312 {
313 UNREFERENCED_PARAMETER(hInstance);
314 UNREFERENCED_PARAMETER(dwInformationClass);
315 UNREFERENCED_PARAMETER(lpBuffer);
316 UNREFERENCED_PARAMETER(dwBufferSize);
317 UNREFERENCED_PARAMETER(lpBytesReturned);
318 return E_NOTIMPL;
319 }
320
321 _Must_inspect_result_
322 HRESULT
323 WINAPI
324 FilterGetDosName(_In_ LPCWSTR lpVolumeName,
325 _Out_writes_(dwDosNameBufferSize) LPWSTR lpDosName,
326 _In_ DWORD dwDosNameBufferSize)
327 {
328 UNREFERENCED_PARAMETER(lpVolumeName);
329 UNREFERENCED_PARAMETER(lpDosName);
330 UNREFERENCED_PARAMETER(dwDosNameBufferSize);
331 return E_NOTIMPL;
332 }