ReactOS  0.4.14-dev-317-g96040ec
stubs.c
Go to the documentation of this file.
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 #include <fltuser.h>
13 
15 HRESULT
16 WINAPI
17 FilterCreate(_In_ LPCWSTR lpFilterName,
18  _Outptr_ HFILTER *hFilter)
19 {
20  UNREFERENCED_PARAMETER(lpFilterName);
21  UNREFERENCED_PARAMETER(hFilter);
22  return E_NOTIMPL;
23 }
24 
25 HRESULT
26 WINAPI
27 FilterClose(_In_ HFILTER hFilter)
28 {
29  UNREFERENCED_PARAMETER(hFilter);
30  return E_NOTIMPL;
31 }
32 
34 HRESULT
35 WINAPI
37  _In_ LPCWSTR lpVolumeName,
38  _In_opt_ LPCWSTR lpInstanceName,
39  _Outptr_ HFILTER_INSTANCE *hInstance)
40 {
41  UNREFERENCED_PARAMETER(lpFilterName);
42  UNREFERENCED_PARAMETER(lpVolumeName);
43  UNREFERENCED_PARAMETER(lpInstanceName);
45  return E_NOTIMPL;
46 }
47 
48 HRESULT
49 WINAPI
51 {
53  return E_NOTIMPL;
54 }
55 
57 HRESULT
58 WINAPI
59 FilterAttach(_In_ LPCWSTR lpFilterName,
60  _In_ LPCWSTR lpVolumeName,
61  _In_opt_ LPCWSTR lpInstanceName,
62  _In_opt_ DWORD dwCreatedInstanceNameLength,
63  _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName)
64 {
65  UNREFERENCED_PARAMETER(lpFilterName);
66  UNREFERENCED_PARAMETER(lpVolumeName);
67  UNREFERENCED_PARAMETER(lpInstanceName);
68  UNREFERENCED_PARAMETER(dwCreatedInstanceNameLength);
69  UNREFERENCED_PARAMETER(lpCreatedInstanceName);
70  return E_NOTIMPL;
71 }
72 
74 HRESULT
75 WINAPI
77  _In_ LPCWSTR lpVolumeName,
78  _In_ LPCWSTR lpAltitude,
79  _In_opt_ LPCWSTR lpInstanceName,
80  _In_opt_ DWORD dwCreatedInstanceNameLength,
81  _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName)
82 {
83  UNREFERENCED_PARAMETER(lpFilterName);
84  UNREFERENCED_PARAMETER(lpVolumeName);
85  UNREFERENCED_PARAMETER(lpAltitude);
86  UNREFERENCED_PARAMETER(lpInstanceName);
87  UNREFERENCED_PARAMETER(dwCreatedInstanceNameLength);
88  UNREFERENCED_PARAMETER(lpCreatedInstanceName);
89  return E_NOTIMPL;
90 }
91 
93 HRESULT
94 WINAPI
95 FilterDetach(_In_ LPCWSTR lpFilterName,
96  _In_ LPCWSTR lpVolumeName,
97  _In_opt_ LPCWSTR lpInstanceName
98 )
99 {
100  UNREFERENCED_PARAMETER(lpFilterName);
101  UNREFERENCED_PARAMETER(lpVolumeName);
102  UNREFERENCED_PARAMETER(lpInstanceName);
103  return E_NOTIMPL;
104 }
105 
107 HRESULT
108 WINAPI
109 FilterFindFirst(_In_ FILTER_INFORMATION_CLASS dwInformationClass,
111  _In_ DWORD dwBufferSize,
113  _Out_ LPHANDLE lpFilterFind)
114 {
115  UNREFERENCED_PARAMETER(dwInformationClass);
117  UNREFERENCED_PARAMETER(dwBufferSize);
119  UNREFERENCED_PARAMETER(lpFilterFind);
120  return E_NOTIMPL;
121 }
122 
124 HRESULT
125 WINAPI
127  _In_ FILTER_INFORMATION_CLASS dwInformationClass,
129  _In_ DWORD dwBufferSize,
131 {
132  UNREFERENCED_PARAMETER(hFilterFind);
133  UNREFERENCED_PARAMETER(dwInformationClass);
135  UNREFERENCED_PARAMETER(dwBufferSize);
137  return E_NOTIMPL;
138 }
139 
141 HRESULT
142 WINAPI
144 {
145  UNREFERENCED_PARAMETER(hFilterFind);
146  return E_NOTIMPL;
147 }
148 
150 HRESULT
151 WINAPI
152 FilterVolumeFindFirst(_In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass,
154  _In_ DWORD dwBufferSize,
156  _Out_ PHANDLE lpVolumeFind)
157 {
158  UNREFERENCED_PARAMETER(dwInformationClass);
160  UNREFERENCED_PARAMETER(dwBufferSize);
162  UNREFERENCED_PARAMETER(lpVolumeFind);
163  return E_NOTIMPL;
164 }
165 
167 HRESULT
168 WINAPI
170  _In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass,
172  _In_ DWORD dwBufferSize,
174 {
175  UNREFERENCED_PARAMETER(hVolumeFind);
176  UNREFERENCED_PARAMETER(dwInformationClass);
178  UNREFERENCED_PARAMETER(dwBufferSize);
180  return E_NOTIMPL;
181 }
182 
183 HRESULT
184 WINAPI
186 {
187  UNREFERENCED_PARAMETER(hVolumeFind);
188  return E_NOTIMPL;
189 }
190 
192 HRESULT
193 WINAPI
195  _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
197  _In_ DWORD dwBufferSize,
199  _Out_ LPHANDLE lpFilterInstanceFind)
200 {
201  UNREFERENCED_PARAMETER(lpFilterName);
202  UNREFERENCED_PARAMETER(dwInformationClass);
204  UNREFERENCED_PARAMETER(dwBufferSize);
206  UNREFERENCED_PARAMETER(lpFilterInstanceFind);
207  return E_NOTIMPL;
208 }
209 
211 HRESULT
212 WINAPI
213 FilterInstanceFindNext(_In_ HANDLE hFilterInstanceFind,
214  _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
216  _In_ DWORD dwBufferSize,
218 {
219 
220  UNREFERENCED_PARAMETER(hFilterInstanceFind);
221  UNREFERENCED_PARAMETER(dwInformationClass);
223  UNREFERENCED_PARAMETER(dwBufferSize);
225  return E_NOTIMPL;
226 }
227 
229 HRESULT
230 WINAPI
231 FilterInstanceFindClose(_In_ HANDLE hFilterInstanceFind)
232 {
233  UNREFERENCED_PARAMETER(hFilterInstanceFind);
234  return E_NOTIMPL;
235 }
236 
238 HRESULT
239 WINAPI
241  _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
243  _In_ DWORD dwBufferSize,
245  _Out_ LPHANDLE lpVolumeInstanceFind)
246 {
247  UNREFERENCED_PARAMETER(lpVolumeName);
248  UNREFERENCED_PARAMETER(dwInformationClass);
250  UNREFERENCED_PARAMETER(dwBufferSize);
252  UNREFERENCED_PARAMETER(lpVolumeInstanceFind);
253  return E_NOTIMPL;
254 }
255 
257 HRESULT
258 WINAPI
260  _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
262  _In_ DWORD dwBufferSize,
264 {
265  UNREFERENCED_PARAMETER(hVolumeInstanceFind);
266  UNREFERENCED_PARAMETER(dwInformationClass);
268  UNREFERENCED_PARAMETER(dwBufferSize);
270  return E_NOTIMPL;
271 }
272 
273 HRESULT
274 WINAPI
276 {
277  UNREFERENCED_PARAMETER(hVolumeInstanceFind);
278  return E_NOTIMPL;
279 }
280 
282 HRESULT
283 WINAPI
284 FilterGetInformation(_In_ HFILTER hFilter,
285  _In_ FILTER_INFORMATION_CLASS dwInformationClass,
287  _In_ DWORD dwBufferSize,
289 {
290  UNREFERENCED_PARAMETER(hFilter);
291  UNREFERENCED_PARAMETER(dwInformationClass);
293  UNREFERENCED_PARAMETER(dwBufferSize);
295  return E_NOTIMPL;
296 }
297 
299 HRESULT
300 WINAPI
302  _In_ INSTANCE_INFORMATION_CLASS dwInformationClass,
304  _In_ DWORD dwBufferSize,
306 {
308  UNREFERENCED_PARAMETER(dwInformationClass);
310  UNREFERENCED_PARAMETER(dwBufferSize);
312  return E_NOTIMPL;
313 }
314 
316 HRESULT
317 WINAPI
319  _Out_writes_(dwDosNameBufferSize) LPWSTR lpDosName,
320  _In_ DWORD dwDosNameBufferSize)
321 {
322  UNREFERENCED_PARAMETER(lpVolumeName);
323  UNREFERENCED_PARAMETER(lpDosName);
324  UNREFERENCED_PARAMETER(dwDosNameBufferSize);
325  return E_NOTIMPL;
326 }
_Must_inspect_result_ HRESULT WINAPI FilterInstanceFindFirst(_In_ LPCWSTR lpFilterName, _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned, _Out_ LPHANDLE lpFilterInstanceFind)
Definition: stubs.c:194
_Must_inspect_result_ HRESULT WINAPI FilterVolumeInstanceFindFirst(_In_ LPCWSTR lpVolumeName, _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned, _Out_ LPHANDLE lpVolumeInstanceFind)
Definition: stubs.c:240
#define _Must_inspect_result_
Definition: no_sal2.h:314
#define _Out_writes_bytes_to_(size, count)
Definition: no_sal2.h:374
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
_Must_inspect_result_ HRESULT WINAPI FilterVolumeInstanceFindNext(_In_ HANDLE hVolumeInstanceFind, _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned)
Definition: stubs.c:259
#define _Outptr_
Definition: no_sal2.h:396
_Must_inspect_result_ HRESULT WINAPI FilterAttach(_In_ LPCWSTR lpFilterName, _In_ LPCWSTR lpVolumeName, _In_opt_ LPCWSTR lpInstanceName, _In_opt_ DWORD dwCreatedInstanceNameLength, _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName)
Definition: stubs.c:59
_Must_inspect_result_ HRESULT WINAPI FilterGetInformation(_In_ HFILTER hFilter, _In_ FILTER_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned)
Definition: stubs.c:284
#define _In_opt_
Definition: no_sal2.h:213
#define _Out_writes_(size)
Definition: no_sal2.h:367
_Must_inspect_result_ HRESULT WINAPI FilterInstanceFindNext(_In_ HANDLE hFilterInstanceFind, _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned)
Definition: stubs.c:213
HINSTANCE hInstance
Definition: charmap.c:20
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:173
#define _Out_writes_bytes_opt_(a)
Definition: btrfs_drv.h:193
_Must_inspect_result_ HRESULT WINAPI FilterInstanceGetInformation(_In_ HFILTER_INSTANCE hInstance, _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned)
Definition: stubs.c:301
#define _Out_
Definition: no_sal2.h:323
_Must_inspect_result_ HRESULT WINAPI FilterVolumeFindNext(_In_ HANDLE hVolumeFind, _In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned)
Definition: stubs.c:169
_Must_inspect_result_ HRESULT WINAPI FilterDetach(_In_ LPCWSTR lpFilterName, _In_ LPCWSTR lpVolumeName, _In_opt_ LPCWSTR lpInstanceName)
Definition: stubs.c:95
LONG HRESULT
Definition: typedefs.h:77
HRESULT WINAPI FilterClose(_In_ HFILTER hFilter)
Definition: stubs.c:27
#define WINAPI
Definition: msvc.h:8
_Must_inspect_result_ HRESULT WINAPI FilterGetDosName(_In_ LPCWSTR lpVolumeName, _Out_writes_(dwDosNameBufferSize) LPWSTR lpDosName, _In_ DWORD dwDosNameBufferSize)
Definition: stubs.c:318
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ HRESULT WINAPI FilterCreate(_In_ LPCWSTR lpFilterName, _Outptr_ HFILTER *hFilter)
Definition: stubs.c:17
HRESULT WINAPI FilterVolumeInstanceFindClose(_In_ HANDLE hVolumeInstanceFind)
Definition: stubs.c:275
_Must_inspect_result_ HRESULT WINAPI FilterFindClose(_In_ HANDLE hFilterFind)
Definition: stubs.c:143
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
_Must_inspect_result_ HRESULT WINAPI FilterAttachAtAltitude(_In_ LPCWSTR lpFilterName, _In_ LPCWSTR lpVolumeName, _In_ LPCWSTR lpAltitude, _In_opt_ LPCWSTR lpInstanceName, _In_opt_ DWORD dwCreatedInstanceNameLength, _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName)
Definition: stubs.c:76
HRESULT WINAPI FilterVolumeFindClose(_In_ HANDLE hVolumeFind)
Definition: stubs.c:185
#define _In_
Definition: no_sal2.h:204
_Must_inspect_result_ HRESULT WINAPI FilterInstanceCreate(_In_ LPCWSTR lpFilterName, _In_ LPCWSTR lpVolumeName, _In_opt_ LPCWSTR lpInstanceName, _Outptr_ HFILTER_INSTANCE *hInstance)
Definition: stubs.c:36
#define E_NOTIMPL
Definition: ddrawi.h:99
_Must_inspect_result_ HRESULT WINAPI FilterFindNext(_In_ HANDLE hFilterFind, _In_ FILTER_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned)
Definition: stubs.c:126
_In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD lpBytesReturned
Definition: winddi.h:1704
_Must_inspect_result_ HRESULT WINAPI FilterVolumeFindFirst(_In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned, _Out_ PHANDLE lpVolumeFind)
Definition: stubs.c:152
_Must_inspect_result_ HRESULT WINAPI FilterFindFirst(_In_ FILTER_INFORMATION_CLASS dwInformationClass, _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, _In_ DWORD dwBufferSize, _Out_ LPDWORD lpBytesReturned, _Out_ LPHANDLE lpFilterFind)
Definition: stubs.c:109
uint32_t * LPDWORD
Definition: typedefs.h:57
HRESULT WINAPI FilterInstanceClose(_In_ HFILTER_INSTANCE hInstance)
Definition: stubs.c:50
WCHAR * LPWSTR
Definition: xmlstorage.h:184
_Must_inspect_result_ HRESULT WINAPI FilterInstanceFindClose(_In_ HANDLE hFilterInstanceFind)
Definition: stubs.c:231