2 * PROJECT: Filesystem Filter Manager
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: drivers/filters/fltmgr/Context.c
5 * PURPOSE: Contains context routines
6 * PROGRAMMERS: Ged Murphy (gedmurphy@reactos.org)
9 /* INCLUDES ******************************************************************/
12 #include "fltmgrint.h"
18 /* DATA *********************************************************************/
23 _In_ FLT_CONTEXT_TYPE ContextType
29 _In_ PFLT_FILTER Filter
,
30 _In_ PFLT_CONTEXT_REGISTRATION ContextPtr
,
31 _Out_ PALLOCATE_CONTEXT_HEADER ContextHeader
34 /* EXPORTED FUNCTIONS ******************************************************/
39 /* INTERNAL FUNCTIONS ******************************************************/
43 FltpRegisterContexts(_In_ PFLT_FILTER Filter
,
44 _In_
const FLT_CONTEXT_REGISTRATION
*Context
)
46 UNREFERENCED_PARAMETER(Filter
);
47 UNREFERENCED_PARAMETER(Context
);
48 return STATUS_NOT_IMPLEMENTED
;
52 /* PRIVATE FUNCTIONS ******************************************************/
56 IsContextTypeValid(_In_ FLT_CONTEXT_TYPE ContextType
)
60 case FLT_VOLUME_CONTEXT
:
61 case FLT_INSTANCE_CONTEXT
:
62 case FLT_FILE_CONTEXT
:
63 case FLT_STREAM_CONTEXT
:
64 case FLT_STREAMHANDLE_CONTEXT
:
65 case FLT_TRANSACTION_CONTEXT
:
74 SetupContextHeader(_In_ PFLT_FILTER Filter
,
75 _In_ PFLT_CONTEXT_REGISTRATION ContextPtr
,
76 _Out_ PALLOCATE_CONTEXT_HEADER ContextHeader
)