ReactOS 0.4.15-dev-7842-g558ab78
fltuser.h File Reference
Include dependency graph for fltuser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __FLTUSER_H__
 
#define FLT_MGR_BASELINE
 
#define FLT_MGR_AFTER_XPSP2
 
#define FLT_MGR_LONGHORN   (NTDDI_VERSION >= NTDDI_VISTA)
 
#define FLT_MGR_WIN7   (NTDDI_VERSION >= NTDDI_WIN7)
 
#define FLT_ASSERT(_e)   NT_ASSERT(_e)
 
#define FLT_ASSERTMSG(_m, _e)   NT_ASSERTMSG(_m, _e)
 

Functions

_Must_inspect_result_ HRESULT WINAPI FilterLoad (_In_ LPCWSTR lpFilterName)
 
_Must_inspect_result_ HRESULT WINAPI FilterUnload (_In_ LPCWSTR lpFilterName)
 
_Must_inspect_result_ HRESULT WINAPI FilterCreate (_In_ LPCWSTR lpFilterName, _Outptr_ HFILTER *hFilter)
 
HRESULT WINAPI FilterClose (_In_ HFILTER hFilter)
 
_Must_inspect_result_ HRESULT WINAPI FilterInstanceCreate (_In_ LPCWSTR lpFilterName, _In_ LPCWSTR lpVolumeName, _In_opt_ LPCWSTR lpInstanceName, _Outptr_ HFILTER_INSTANCE *hInstance)
 
HRESULT WINAPI FilterInstanceClose (_In_ HFILTER_INSTANCE hInstance)
 
_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)
 
_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)
 
_Must_inspect_result_ HRESULT WINAPI FilterDetach (_In_ LPCWSTR lpFilterName, _In_ LPCWSTR lpVolumeName, _In_opt_ LPCWSTR lpInstanceName)
 
_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)
 
_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)
 
_Must_inspect_result_ HRESULT WINAPI FilterFindClose (_In_ HANDLE hFilterFind)
 
_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)
 
_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)
 
HRESULT WINAPI FilterVolumeFindClose (_In_ HANDLE hVolumeFind)
 
_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)
 
_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)
 
_Must_inspect_result_ HRESULT WINAPI FilterInstanceFindClose (_In_ HANDLE hFilterInstanceFind)
 
_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)
 
_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)
 
HRESULT WINAPI FilterVolumeInstanceFindClose (_In_ HANDLE hVolumeInstanceFind)
 
_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)
 
_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)
 
_Must_inspect_result_ HRESULT WINAPI FilterConnectCommunicationPort (_In_ LPCWSTR lpPortName, _In_ DWORD dwOptions, _In_reads_bytes_opt_(wSizeOfContext) LPCVOID lpContext, _In_ WORD wSizeOfContext, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Outptr_ HANDLE *hPort)
 
_Must_inspect_result_ HRESULT WINAPI FilterSendMessage (_In_ HANDLE hPort, _In_reads_bytes_opt_(dwInBufferSize) LPVOID lpInBuffer, _In_ DWORD dwInBufferSize, _Out_writes_bytes_to_opt_(dwOutBufferSize, *lpBytesReturned) LPVOID lpOutBuffer, _In_ DWORD dwOutBufferSize, _Out_ LPDWORD lpBytesReturned)
 
_Must_inspect_result_ HRESULT WINAPI FilterGetMessage (_In_ HANDLE hPort, _Out_writes_bytes_(dwMessageBufferSize) PFILTER_MESSAGE_HEADER lpMessageBuffer, _In_ DWORD dwMessageBufferSize, _Inout_ LPOVERLAPPED lpOverlapped)
 
_Must_inspect_result_ HRESULT WINAPI FilterReplyMessage (_In_ HANDLE hPort, _In_reads_bytes_(dwReplyBufferSize) PFILTER_REPLY_HEADER lpReplyBuffer, _In_ DWORD dwReplyBufferSize)
 
_Must_inspect_result_ HRESULT WINAPI FilterGetDosName (_In_ LPCWSTR lpVolumeName, _Out_writes_(dwDosNameBufferSize) LPWSTR lpDosName, _In_ DWORD dwDosNameBufferSize)
 

Macro Definition Documentation

◆ __FLTUSER_H__

#define __FLTUSER_H__

Definition at line 23 of file fltuser.h.

◆ FLT_ASSERT

#define FLT_ASSERT (   _e)    NT_ASSERT(_e)

Definition at line 47 of file fltuser.h.

◆ FLT_ASSERTMSG

#define FLT_ASSERTMSG (   _m,
  _e 
)    NT_ASSERTMSG(_m, _e)

Definition at line 48 of file fltuser.h.

◆ FLT_MGR_AFTER_XPSP2

#define FLT_MGR_AFTER_XPSP2
Value:
#define NTDDI_VERSION
Definition: k32.h:33
#define OSVER(Version)
Definition: sdkddkver.h:142
#define NTDDI_WINXP
Definition: sdkddkver.h:87
#define NTDDI_VISTA
Definition: sdkddkver.h:103
#define NTDDI_WINXPSP2
Definition: sdkddkver.h:89
#define NTDDI_WS03
Definition: sdkddkver.h:92
#define NTDDI_WS03SP1
Definition: sdkddkver.h:93
#define NTDDI_WIN2KSP4
Definition: sdkddkver.h:86
#define NTDDI_WIN2K
Definition: sdkddkver.h:82
#define SPVER(Version)
Definition: sdkddkver.h:143

Definition at line 30 of file fltuser.h.

◆ FLT_MGR_BASELINE

◆ FLT_MGR_LONGHORN

#define FLT_MGR_LONGHORN   (NTDDI_VERSION >= NTDDI_VISTA)

Definition at line 35 of file fltuser.h.

◆ FLT_MGR_WIN7

#define FLT_MGR_WIN7   (NTDDI_VERSION >= NTDDI_WIN7)

Definition at line 36 of file fltuser.h.

Function Documentation

◆ FilterAttach()

_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 at line 59 of file stubs.c.

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}
#define E_NOTIMPL
Definition: ddrawi.h:99
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317

◆ FilterAttachAtAltitude()

_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 at line 76 of file stubs.c.

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}

◆ FilterClose()

HRESULT WINAPI FilterClose ( _In_ HFILTER  hFilter)

Definition at line 27 of file stubs.c.

28{
30 return E_NOTIMPL;
31}

◆ FilterConnectCommunicationPort()

_Must_inspect_result_ HRESULT WINAPI FilterConnectCommunicationPort ( _In_ LPCWSTR  lpPortName,
_In_ DWORD  dwOptions,
_In_reads_bytes_opt_(wSizeOfContext) LPCVOID  lpContext,
_In_ WORD  wSizeOfContext,
_In_opt_ LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
_Outptr_ HANDLE hPort 
)

Definition at line 25 of file message.c.

31{
34 PFILTER_PORT_DATA PortData;
38 SIZE_T PortNameSize;
40 PCHAR Ptr;
42 HRESULT hr;
43
44 *hPort = INVALID_HANDLE_VALUE;
45
46 /* Sanity check */
47 if (lpContext && wSizeOfContext == 0)
48 {
49 return E_INVALIDARG;
50 }
51
52 /* Get the length of the port name */
53 PortNameSize = wcslen(lpPortName) * sizeof(WCHAR);
54
55 /* Calculate and allocate the size of the required buffer */
56 BufferSize = sizeof(FILTER_PORT_DATA) + PortNameSize + wSizeOfContext;
58 if (PortData == NULL) return E_OUTOFMEMORY;
59
60 /* Clear out the buffer and find the end of the fixed struct */
61 RtlZeroMemory(PortData, BufferSize);
62 Ptr = (PCHAR)(PortData + 1);
63
64 PortData->Size = BufferSize;
65 PortData->Options = dwOptions;
66
67 /* Setup the port name */
68 RtlInitUnicodeString(&PortName, lpPortName);
69 PortData->PortName.Buffer = (PWCH)Ptr;
70 PortData->PortName.MaximumLength = PortNameSize;
72 Ptr += PortData->PortName.Length;
73
74 /* Check if we were given a context */
75 if (lpContext)
76 {
77 /* Add that into the buffer too */
78 PortData->Context = Ptr;
79 RtlCopyMemory(PortData->Context, lpContext, wSizeOfContext);
80 }
81
82 /* Initialize the object attributes */
83 RtlInitUnicodeString(&DeviceName, L"\\Global??\\FltMgrMsg");
87 NULL,
88 NULL);
89
90 /* Check if we were passed any security attributes */
91 if (lpSecurityAttributes)
92 {
93 /* Add these manually and update the flags if we were asked to make it inheritable */
94 ObjectAttributes.SecurityDescriptor = lpSecurityAttributes->lpSecurityDescriptor;
95 if (lpSecurityAttributes->bInheritHandle)
96 {
97 ObjectAttributes.Attributes |= OBJ_INHERIT;
98 }
99 }
100
101 /* Now get a handle to the device */
106 0,
107 0,
108 0,
110 0,
111 PortData,
112 BufferSize);
113 if (NT_SUCCESS(Status))
114 {
115 *hPort = FileHandle;
116 hr = S_OK;
117 }
118 else
119 {
121 }
122
123 /* Cleanup and return */
124 RtlFreeHeap(GetProcessHeap(), 0, PortData);
125 return hr;
126}
static UNICODE_STRING PortName
LONG NTSTATUS
Definition: precomp.h:26
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
Definition: heap.c:590
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
Definition: heap.c:608
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:36
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define E_INVALIDARG
Definition: ddrawi.h:101
#define BufferSize
Definition: mmc.h:75
#define NULL
Definition: types.h:112
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define GetProcessHeap()
Definition: compat.h:736
#define INVALID_HANDLE_VALUE
Definition: compat.h:731
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
Definition: fltkernel.h:1231
HRESULT NtStatusToHResult(_In_ NTSTATUS Status)
Definition: fltlib.c:59
struct _FILTER_PORT_DATA FILTER_PORT_DATA
#define FILE_OPEN_IF
Definition: from_kernel.h:56
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
Status
Definition: gdiplustypes.h:25
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define OBJ_CASE_INSENSITIVE
Definition: winternl.h:228
#define OBJ_INHERIT
Definition: winternl.h:225
#define OBJ_EXCLUSIVE
Definition: winternl.h:227
#define S_OK
Definition: intsafe.h:52
#define PCHAR
Definition: match.c:90
static OUT PIO_STATUS_BLOCK IoStatusBlock
Definition: pipe.c:75
#define InitializeObjectAttributes(p, n, a, r, s)
Definition: reg.c:106
NTSYSAPI VOID NTAPI RtlCopyUnicodeString(PUNICODE_STRING DestinationString, PUNICODE_STRING SourceString)
#define SYNCHRONIZE
Definition: nt_native.h:61
#define FILE_WRITE_DATA
Definition: nt_native.h:631
#define FILE_READ_DATA
Definition: nt_native.h:628
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSTATUS NTAPI NtCreateFile(OUT PHANDLE FileHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER AllocationSize OPTIONAL, IN ULONG FileAttributes, IN ULONG ShareAccess, IN ULONG CreateDisposition, IN ULONG CreateOptions, IN PVOID EaBuffer OPTIONAL, IN ULONG EaLength)
WCHAR * PWCH
Definition: ntbasedef.h:410
#define L(x)
Definition: ntvdm.h:50
HRESULT hr
Definition: shlfolder.c:183
DWORD dwOptions
Definition: solitaire.cpp:25
UNICODE_STRING PortName
Definition: fltmgr_shared.h:28
USHORT MaximumLength
Definition: env_spec_w32.h:370
ULONG_PTR SIZE_T
Definition: typedefs.h:80
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
char * PCHAR
Definition: typedefs.h:51
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_opt_ PCUNICODE_STRING DeviceName
Definition: wdfdevice.h:3275
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:254
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by KmtFltConnect().

◆ FilterCreate()

_Must_inspect_result_ HRESULT WINAPI FilterCreate ( _In_ LPCWSTR  lpFilterName,
_Outptr_ HFILTER *  hFilter 
)

Definition at line 17 of file stubs.c.

19{
20 UNREFERENCED_PARAMETER(lpFilterName);
22 return E_NOTIMPL;
23}

◆ FilterDetach()

_Must_inspect_result_ HRESULT WINAPI FilterDetach ( _In_ LPCWSTR  lpFilterName,
_In_ LPCWSTR  lpVolumeName,
_In_opt_ LPCWSTR  lpInstanceName 
)

Definition at line 95 of file stubs.c.

99{
100 UNREFERENCED_PARAMETER(lpFilterName);
101 UNREFERENCED_PARAMETER(lpVolumeName);
102 UNREFERENCED_PARAMETER(lpInstanceName);
103 return E_NOTIMPL;
104}

◆ FilterFindClose()

_Must_inspect_result_ HRESULT WINAPI FilterFindClose ( _In_ HANDLE  hFilterFind)

Definition at line 143 of file stubs.c.

144{
145 UNREFERENCED_PARAMETER(hFilterFind);
146 return E_NOTIMPL;
147}

Referenced by ListFilters().

◆ FilterFindFirst()

_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 at line 109 of file stubs.c.

114{
115 UNREFERENCED_PARAMETER(dwInformationClass);
117 UNREFERENCED_PARAMETER(dwBufferSize);
119 UNREFERENCED_PARAMETER(lpFilterFind);
120 return E_NOTIMPL;
121}
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:175
_In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD lpBytesReturned
Definition: winddi.h:1705

Referenced by ListFilters().

◆ FilterFindNext()

_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 at line 126 of file stubs.c.

131{
132 UNREFERENCED_PARAMETER(hFilterFind);
133 UNREFERENCED_PARAMETER(dwInformationClass);
135 UNREFERENCED_PARAMETER(dwBufferSize);
137 return E_NOTIMPL;
138}

Referenced by ListFilters().

◆ FilterGetDosName()

_Must_inspect_result_ HRESULT WINAPI FilterGetDosName ( _In_ LPCWSTR  lpVolumeName,
_Out_writes_(dwDosNameBufferSize) LPWSTR  lpDosName,
_In_ DWORD  dwDosNameBufferSize 
)

Definition at line 318 of file stubs.c.

321{
322 UNREFERENCED_PARAMETER(lpVolumeName);
323 UNREFERENCED_PARAMETER(lpDosName);
324 UNREFERENCED_PARAMETER(dwDosNameBufferSize);
325 return E_NOTIMPL;
326}

Referenced by PrintVolumeInfo().

◆ FilterGetInformation()

_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 at line 284 of file stubs.c.

289{
290 UNREFERENCED_PARAMETER(hFilter);
291 UNREFERENCED_PARAMETER(dwInformationClass);
293 UNREFERENCED_PARAMETER(dwBufferSize);
295 return E_NOTIMPL;
296}

◆ FilterGetMessage()

_Must_inspect_result_ HRESULT WINAPI FilterGetMessage ( _In_ HANDLE  hPort,
_Out_writes_bytes_(dwMessageBufferSize) PFILTER_MESSAGE_HEADER  lpMessageBuffer,
_In_ DWORD  dwMessageBufferSize,
_Inout_ LPOVERLAPPED  lpOverlapped 
)

◆ FilterInstanceClose()

HRESULT WINAPI FilterInstanceClose ( _In_ HFILTER_INSTANCE  hInstance)

Definition at line 50 of file stubs.c.

51{
53 return E_NOTIMPL;
54}
HINSTANCE hInstance
Definition: charmap.c:19

◆ FilterInstanceCreate()

_Must_inspect_result_ HRESULT WINAPI FilterInstanceCreate ( _In_ LPCWSTR  lpFilterName,
_In_ LPCWSTR  lpVolumeName,
_In_opt_ LPCWSTR  lpInstanceName,
_Outptr_ HFILTER_INSTANCE *  hInstance 
)

Definition at line 36 of file stubs.c.

40{
41 UNREFERENCED_PARAMETER(lpFilterName);
42 UNREFERENCED_PARAMETER(lpVolumeName);
43 UNREFERENCED_PARAMETER(lpInstanceName);
45 return E_NOTIMPL;
46}

◆ FilterInstanceFindClose()

_Must_inspect_result_ HRESULT WINAPI FilterInstanceFindClose ( _In_ HANDLE  hFilterInstanceFind)

Definition at line 231 of file stubs.c.

232{
233 UNREFERENCED_PARAMETER(hFilterInstanceFind);
234 return E_NOTIMPL;
235}

◆ FilterInstanceFindFirst()

_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 at line 194 of file stubs.c.

200{
201 UNREFERENCED_PARAMETER(lpFilterName);
202 UNREFERENCED_PARAMETER(dwInformationClass);
204 UNREFERENCED_PARAMETER(dwBufferSize);
206 UNREFERENCED_PARAMETER(lpFilterInstanceFind);
207 return E_NOTIMPL;
208}

◆ FilterInstanceFindNext()

_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 at line 213 of file stubs.c.

218{
219
220 UNREFERENCED_PARAMETER(hFilterInstanceFind);
221 UNREFERENCED_PARAMETER(dwInformationClass);
223 UNREFERENCED_PARAMETER(dwBufferSize);
225 return E_NOTIMPL;
226}

◆ FilterInstanceGetInformation()

_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 at line 301 of file stubs.c.

◆ FilterLoad()

_Must_inspect_result_ HRESULT WINAPI FilterLoad ( _In_ LPCWSTR  lpFilterName)

Definition at line 42 of file fltlib.c.

43{
44 return FilterLoadUnload(lpFilterName, TRUE);
45}
#define TRUE
Definition: types.h:120
static HRESULT FilterLoadUnload(_In_z_ LPCWSTR lpFilterName, _In_ BOOL Load)
Definition: fltlib.c:72

Referenced by KmtFltLoad(), and LoadFilter().

◆ FilterReplyMessage()

_Must_inspect_result_ HRESULT WINAPI FilterReplyMessage ( _In_ HANDLE  hPort,
_In_reads_bytes_(dwReplyBufferSize) PFILTER_REPLY_HEADER  lpReplyBuffer,
_In_ DWORD  dwReplyBufferSize 
)

Definition at line 165 of file message.c.

168{
170 UNREFERENCED_PARAMETER(lpReplyBuffer);
171 UNREFERENCED_PARAMETER(dwReplyBufferSize);
172 return E_NOTIMPL;
173}

Referenced by KmtFltReplyMessage().

◆ FilterSendMessage()

_Must_inspect_result_ HRESULT WINAPI FilterSendMessage ( _In_ HANDLE  hPort,
_In_reads_bytes_opt_(dwInBufferSize) LPVOID  lpInBuffer,
_In_ DWORD  dwInBufferSize,
_Out_writes_bytes_to_opt_(dwOutBufferSize, *lpBytesReturned) LPVOID  lpOutBuffer,
_In_ DWORD  dwOutBufferSize,
_Out_ LPDWORD  lpBytesReturned 
)

◆ FilterUnload()

_Must_inspect_result_ HRESULT WINAPI FilterUnload ( _In_ LPCWSTR  lpFilterName)

Definition at line 50 of file fltlib.c.

51{
52 return FilterLoadUnload(lpFilterName, FALSE);
53}
#define FALSE
Definition: types.h:117

Referenced by KmtFltUnload(), and UnloadFilter().

◆ FilterVolumeFindClose()

HRESULT WINAPI FilterVolumeFindClose ( _In_ HANDLE  hVolumeFind)

Definition at line 185 of file stubs.c.

186{
187 UNREFERENCED_PARAMETER(hVolumeFind);
188 return E_NOTIMPL;
189}

Referenced by ListVolumes().

◆ FilterVolumeFindFirst()

_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 at line 152 of file stubs.c.

157{
158 UNREFERENCED_PARAMETER(dwInformationClass);
160 UNREFERENCED_PARAMETER(dwBufferSize);
162 UNREFERENCED_PARAMETER(lpVolumeFind);
163 return E_NOTIMPL;
164}

Referenced by ListVolumes().

◆ FilterVolumeFindNext()

_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 at line 169 of file stubs.c.

174{
175 UNREFERENCED_PARAMETER(hVolumeFind);
176 UNREFERENCED_PARAMETER(dwInformationClass);
178 UNREFERENCED_PARAMETER(dwBufferSize);
180 return E_NOTIMPL;
181}

Referenced by ListVolumes().

◆ FilterVolumeInstanceFindClose()

HRESULT WINAPI FilterVolumeInstanceFindClose ( _In_ HANDLE  hVolumeInstanceFind)

Definition at line 275 of file stubs.c.

276{
277 UNREFERENCED_PARAMETER(hVolumeInstanceFind);
278 return E_NOTIMPL;
279}

◆ FilterVolumeInstanceFindFirst()

_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 at line 240 of file stubs.c.

246{
247 UNREFERENCED_PARAMETER(lpVolumeName);
248 UNREFERENCED_PARAMETER(dwInformationClass);
250 UNREFERENCED_PARAMETER(dwBufferSize);
252 UNREFERENCED_PARAMETER(lpVolumeInstanceFind);
253 return E_NOTIMPL;
254}

◆ FilterVolumeInstanceFindNext()

_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 at line 259 of file stubs.c.

264{
265 UNREFERENCED_PARAMETER(hVolumeInstanceFind);
266 UNREFERENCED_PARAMETER(dwInformationClass);
268 UNREFERENCED_PARAMETER(dwBufferSize);
270 return E_NOTIMPL;
271}