WDK Mini Filter Example
|
#include "change.h"
Go to the source code of this file.
Functions | |
NTSTATUS | CgCreateFileContext (_Outptr_ PCG_FILE_CONTEXT *FileContext) |
VOID | CgFileContextCleanup (_In_ PFLT_CONTEXT Context, _In_ FLT_CONTEXT_TYPE ContextType) |
VOID | CgTransactionContextCleanup (_In_ PFLT_CONTEXT Context, _In_ FLT_CONTEXT_TYPE ContextType) |
NTSTATUS | CgGetFileId (_In_ PFLT_INSTANCE Instance, _In_ PFILE_OBJECT FileObject, _Out_ PCG_FILE_REFERENCE FileId) |
NTSTATUS | CgFindOrCreateFileContext (_In_ PFLT_CALLBACK_DATA Cbd, _Outptr_ PCG_FILE_CONTEXT *FileContext) |
NTSTATUS | CgFindOrCreateTransactionContext (_In_ PCFLT_RELATED_OBJECTS FltObjects, _Outptr_ PCG_TRANSACTION_CONTEXT *TransactionContext) |
Variables | |
const FLT_CONTEXT_REGISTRATION | ContextRegistration [] |
Function Documentation
◆ CgCreateFileContext()
NTSTATUS CgCreateFileContext | ( | _Outptr_ PCG_FILE_CONTEXT * | FileContext | ) |
Definition at line 420 of file change/context.c.
◆ CgFileContextCleanup()
VOID CgFileContextCleanup | ( | _In_ PFLT_CONTEXT | Context, |
_In_ FLT_CONTEXT_TYPE | ContextType | ||
) |
Definition at line 74 of file change/context.c.
◆ CgFindOrCreateFileContext()
NTSTATUS CgFindOrCreateFileContext | ( | _In_ PFLT_CALLBACK_DATA | Cbd, |
_Outptr_ PCG_FILE_CONTEXT * | FileContext | ||
) |
Definition at line 238 of file change/context.c.
◆ CgFindOrCreateTransactionContext()
NTSTATUS CgFindOrCreateTransactionContext | ( | _In_ PCFLT_RELATED_OBJECTS | FltObjects, |
_Outptr_ PCG_TRANSACTION_CONTEXT * | TransactionContext | ||
) |
Definition at line 476 of file change/context.c.
◆ CgGetFileId()
NTSTATUS CgGetFileId | ( | _In_ PFLT_INSTANCE | Instance, |
_In_ PFILE_OBJECT | FileObject, | ||
_Out_ PCG_FILE_REFERENCE | FileId | ||
) |
Definition at line 161 of file change/context.c.
◆ CgTransactionContextCleanup()
VOID CgTransactionContextCleanup | ( | _In_ PFLT_CONTEXT | Context, |
_In_ FLT_CONTEXT_TYPE | ContextType | ||
) |
Definition at line 122 of file change/context.c.
Variable Documentation
◆ ContextRegistration
const FLT_CONTEXT_REGISTRATION ContextRegistration[] |
Initial value:
= {
{ FLT_FILE_CONTEXT,
0,
{ FLT_TRANSACTION_CONTEXT,
0,
{ FLT_CONTEXT_END }
}
VOID CgFileContextCleanup(_In_ PFLT_CONTEXT Context, _In_ FLT_CONTEXT_TYPE ContextType)
Definition: change/context.c:74
VOID CgTransactionContextCleanup(_In_ PFLT_CONTEXT Context, _In_ FLT_CONTEXT_TYPE ContextType)
Definition: change/context.c:122
Definition at line 55 of file change/context.c.
Services Overview
Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.
Contact Us
You are welcome to contact us for salse or partnership.
Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com