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 14 _Must_inspect_result_ 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 33 _Must_inspect_result_ 34 HRESULT 35 WINAPI 36 FilterInstanceCreate(_In_ LPCWSTR lpFilterName, 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); 44 UNREFERENCED_PARAMETER(hInstance); 45 return E_NOTIMPL; 46 } 47 48 HRESULT 49 WINAPI 50 FilterInstanceClose(_In_ HFILTER_INSTANCE hInstance) 51 { 52 UNREFERENCED_PARAMETER(hInstance); 53 return E_NOTIMPL; 54 } 55 56 _Must_inspect_result_ 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 73 _Must_inspect_result_ 74 HRESULT 75 WINAPI 76 FilterAttachAtAltitude(_In_ LPCWSTR lpFilterName, 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 92 _Must_inspect_result_ 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 106 _Must_inspect_result_ 107 HRESULT 108 WINAPI 109 FilterFindFirst(_In_ FILTER_INFORMATION_CLASS dwInformationClass, 110 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 111 _In_ DWORD dwBufferSize, 112 _Out_ LPDWORD lpBytesReturned, 113 _Out_ LPHANDLE lpFilterFind) 114 { 115 UNREFERENCED_PARAMETER(dwInformationClass); 116 UNREFERENCED_PARAMETER(lpBuffer); 117 UNREFERENCED_PARAMETER(dwBufferSize); 118 UNREFERENCED_PARAMETER(lpBytesReturned); 119 UNREFERENCED_PARAMETER(lpFilterFind); 120 return E_NOTIMPL; 121 } 122 123 _Must_inspect_result_ 124 HRESULT 125 WINAPI 126 FilterFindNext(_In_ HANDLE hFilterFind, 127 _In_ FILTER_INFORMATION_CLASS dwInformationClass, 128 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 129 _In_ DWORD dwBufferSize, 130 _Out_ LPDWORD lpBytesReturned) 131 { 132 UNREFERENCED_PARAMETER(hFilterFind); 133 UNREFERENCED_PARAMETER(dwInformationClass); 134 UNREFERENCED_PARAMETER(lpBuffer); 135 UNREFERENCED_PARAMETER(dwBufferSize); 136 UNREFERENCED_PARAMETER(lpBytesReturned); 137 return E_NOTIMPL; 138 } 139 140 _Must_inspect_result_ 141 HRESULT 142 WINAPI 143 FilterFindClose(_In_ HANDLE hFilterFind) 144 { 145 UNREFERENCED_PARAMETER(hFilterFind); 146 return E_NOTIMPL; 147 } 148 149 _Must_inspect_result_ 150 HRESULT 151 WINAPI 152 FilterVolumeFindFirst(_In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass, 153 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 154 _In_ DWORD dwBufferSize, 155 _Out_ LPDWORD lpBytesReturned, 156 _Out_ PHANDLE lpVolumeFind) 157 { 158 UNREFERENCED_PARAMETER(dwInformationClass); 159 UNREFERENCED_PARAMETER(lpBuffer); 160 UNREFERENCED_PARAMETER(dwBufferSize); 161 UNREFERENCED_PARAMETER(lpBytesReturned); 162 UNREFERENCED_PARAMETER(lpVolumeFind); 163 return E_NOTIMPL; 164 } 165 166 _Must_inspect_result_ 167 HRESULT 168 WINAPI 169 FilterVolumeFindNext(_In_ HANDLE hVolumeFind, 170 _In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass, 171 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 172 _In_ DWORD dwBufferSize, 173 _Out_ LPDWORD lpBytesReturned) 174 { 175 UNREFERENCED_PARAMETER(hVolumeFind); 176 UNREFERENCED_PARAMETER(dwInformationClass); 177 UNREFERENCED_PARAMETER(lpBuffer); 178 UNREFERENCED_PARAMETER(dwBufferSize); 179 UNREFERENCED_PARAMETER(lpBytesReturned); 180 return E_NOTIMPL; 181 } 182 183 HRESULT 184 WINAPI 185 FilterVolumeFindClose(_In_ HANDLE hVolumeFind) 186 { 187 UNREFERENCED_PARAMETER(hVolumeFind); 188 return E_NOTIMPL; 189 } 190 191 _Must_inspect_result_ 192 HRESULT 193 WINAPI 194 FilterInstanceFindFirst(_In_ LPCWSTR lpFilterName, 195 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, 196 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 197 _In_ DWORD dwBufferSize, 198 _Out_ LPDWORD lpBytesReturned, 199 _Out_ LPHANDLE lpFilterInstanceFind) 200 { 201 UNREFERENCED_PARAMETER(lpFilterName); 202 UNREFERENCED_PARAMETER(dwInformationClass); 203 UNREFERENCED_PARAMETER(lpBuffer); 204 UNREFERENCED_PARAMETER(dwBufferSize); 205 UNREFERENCED_PARAMETER(lpBytesReturned); 206 UNREFERENCED_PARAMETER(lpFilterInstanceFind); 207 return E_NOTIMPL; 208 } 209 210 _Must_inspect_result_ 211 HRESULT 212 WINAPI 213 FilterInstanceFindNext(_In_ HANDLE hFilterInstanceFind, 214 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, 215 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 216 _In_ DWORD dwBufferSize, 217 _Out_ LPDWORD lpBytesReturned) 218 { 219 220 UNREFERENCED_PARAMETER(hFilterInstanceFind); 221 UNREFERENCED_PARAMETER(dwInformationClass); 222 UNREFERENCED_PARAMETER(lpBuffer); 223 UNREFERENCED_PARAMETER(dwBufferSize); 224 UNREFERENCED_PARAMETER(lpBytesReturned); 225 return E_NOTIMPL; 226 } 227 228 _Must_inspect_result_ 229 HRESULT 230 WINAPI 231 FilterInstanceFindClose(_In_ HANDLE hFilterInstanceFind) 232 { 233 UNREFERENCED_PARAMETER(hFilterInstanceFind); 234 return E_NOTIMPL; 235 } 236 237 _Must_inspect_result_ 238 HRESULT 239 WINAPI 240 FilterVolumeInstanceFindFirst(_In_ LPCWSTR lpVolumeName, 241 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, 242 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 243 _In_ DWORD dwBufferSize, 244 _Out_ LPDWORD lpBytesReturned, 245 _Out_ LPHANDLE lpVolumeInstanceFind) 246 { 247 UNREFERENCED_PARAMETER(lpVolumeName); 248 UNREFERENCED_PARAMETER(dwInformationClass); 249 UNREFERENCED_PARAMETER(lpBuffer); 250 UNREFERENCED_PARAMETER(dwBufferSize); 251 UNREFERENCED_PARAMETER(lpBytesReturned); 252 UNREFERENCED_PARAMETER(lpVolumeInstanceFind); 253 return E_NOTIMPL; 254 } 255 256 _Must_inspect_result_ 257 HRESULT 258 WINAPI 259 FilterVolumeInstanceFindNext(_In_ HANDLE hVolumeInstanceFind, 260 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, 261 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 262 _In_ DWORD dwBufferSize, 263 _Out_ LPDWORD lpBytesReturned) 264 { 265 UNREFERENCED_PARAMETER(hVolumeInstanceFind); 266 UNREFERENCED_PARAMETER(dwInformationClass); 267 UNREFERENCED_PARAMETER(lpBuffer); 268 UNREFERENCED_PARAMETER(dwBufferSize); 269 UNREFERENCED_PARAMETER(lpBytesReturned); 270 return E_NOTIMPL; 271 } 272 273 HRESULT 274 WINAPI 275 FilterVolumeInstanceFindClose(_In_ HANDLE hVolumeInstanceFind) 276 { 277 UNREFERENCED_PARAMETER(hVolumeInstanceFind); 278 return E_NOTIMPL; 279 } 280 281 _Must_inspect_result_ 282 HRESULT 283 WINAPI 284 FilterGetInformation(_In_ HFILTER hFilter, 285 _In_ FILTER_INFORMATION_CLASS dwInformationClass, 286 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 287 _In_ DWORD dwBufferSize, 288 _Out_ LPDWORD lpBytesReturned) 289 { 290 UNREFERENCED_PARAMETER(hFilter); 291 UNREFERENCED_PARAMETER(dwInformationClass); 292 UNREFERENCED_PARAMETER(lpBuffer); 293 UNREFERENCED_PARAMETER(dwBufferSize); 294 UNREFERENCED_PARAMETER(lpBytesReturned); 295 return E_NOTIMPL; 296 } 297 298 _Must_inspect_result_ 299 HRESULT 300 WINAPI 301 FilterInstanceGetInformation(_In_ HFILTER_INSTANCE hInstance, 302 _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, 303 _Out_writes_bytes_to_(dwBufferSize, *lpBytesReturned) LPVOID lpBuffer, 304 _In_ DWORD dwBufferSize, 305 _Out_ LPDWORD lpBytesReturned) 306 { 307 UNREFERENCED_PARAMETER(hInstance); 308 UNREFERENCED_PARAMETER(dwInformationClass); 309 UNREFERENCED_PARAMETER(lpBuffer); 310 UNREFERENCED_PARAMETER(dwBufferSize); 311 UNREFERENCED_PARAMETER(lpBytesReturned); 312 return E_NOTIMPL; 313 } 314 315 _Must_inspect_result_ 316 HRESULT 317 WINAPI 318 FilterGetDosName(_In_ LPCWSTR lpVolumeName, 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 } 327