-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathminivers.h
More file actions
59 lines (46 loc) · 2.73 KB
/
Copy pathminivers.h
File metadata and controls
59 lines (46 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef MINIVERS_H
#define MINIVERS_H
#include <fltKernel.h>
#include <suppress.h>
#pragma prefast(disable:__WARNING_ENCODE_MEMBER_FUNCTION_POINTER, "Not valid for kernel mode drivers")
#define TAG 'reVM'
/******************************************************************************
******************************************************************************
** **
** Type definitions. **
** **
******************************************************************************
******************************************************************************/
typedef struct {
/* The filter that results from a call to FltRegisterFilter. */
PFLT_FILTER filter;
} DRIVER_DATA;
/******************************************************************************
******************************************************************************
** **
** Global variables. **
** **
******************************************************************************
******************************************************************************/
extern const FLT_REGISTRATION filter_registration;
/******************************************************************************
******************************************************************************
** **
** Function prototypes. **
** **
******************************************************************************
******************************************************************************/
FLT_PREOP_CALLBACK_STATUS
PreOperationCallback(
_Inout_ PFLT_CALLBACK_DATA Data,
_In_ PCFLT_RELATED_OBJECTS FltObjects,
_Flt_CompletionContext_Outptr_ PVOID* CompletionContext
);
NTSTATUS InstanceSetup(_In_ PCFLT_RELATED_OBJECTS FltObjects,
_In_ FLT_INSTANCE_SETUP_FLAGS Flags,
_In_ DEVICE_TYPE VolumeDeviceType,
_In_ FLT_FILESYSTEM_TYPE VolumeFilesystemType);
NTSTATUS FilterUnload(_In_ FLT_FILTER_UNLOAD_FLAGS Flags);
NTSTATUS InstanceQueryTeardown(_In_ PCFLT_RELATED_OBJECTS FltObjects,
_In_ FLT_INSTANCE_QUERY_TEARDOWN_FLAGS Flags);
#endif /* MINIVERS_H */