WDK Mini Filter Example
change/context.h File Reference

Go to the source code of this file.

Data Structures

struct  _CG_TRANSACTION_CONTEXT
 
union  _CG_FILE_REFERENCE
 
struct  _CG_FILE_CONTEXT
 

Macros

#define CG_FILE_CONTEXT_TAG   'cFcG'
 
#define CG_TRANSACTION_CONTEXT_TAG   'cTcG'
 
#define CG_TRANSACTION_CONTEXT_SIZE   sizeof( CG_TRANSACTION_CONTEXT )
 
#define CG_FILE_CONTEXT_SIZE   sizeof( CG_FILE_CONTEXT )
 

Typedefs

typedef struct _CG_TRANSACTION_CONTEXT CG_TRANSACTION_CONTEXT
 
typedef struct _CG_TRANSACTION_CONTEXTPCG_TRANSACTION_CONTEXT
 
typedef union _CG_FILE_REFERENCE CG_FILE_REFERENCE
 
typedef union _CG_FILE_REFERENCEPCG_FILE_REFERENCE
 
typedef struct _CG_FILE_CONTEXT CG_FILE_CONTEXT
 
typedef struct _CG_FILE_CONTEXTPCG_FILE_CONTEXT
 

Functions

NTSTATUS CgFindOrCreateFileContext (_In_ PFLT_CALLBACK_DATA Cbd, _Outptr_ PCG_FILE_CONTEXT *FileContext)
 
NTSTATUS CgFindOrCreateTransactionContext (_In_ PCFLT_RELATED_OBJECTS FltObjects, _Outptr_ PCG_TRANSACTION_CONTEXT *TransactionContext)
 

Macro Definition Documentation

◆ CG_FILE_CONTEXT_SIZE

#define CG_FILE_CONTEXT_SIZE   sizeof( CG_FILE_CONTEXT )

Definition at line 131 of file change/context.h.

◆ CG_FILE_CONTEXT_TAG

#define CG_FILE_CONTEXT_TAG   'cFcG'

Definition at line 24 of file change/context.h.

◆ CG_TRANSACTION_CONTEXT_SIZE

#define CG_TRANSACTION_CONTEXT_SIZE   sizeof( CG_TRANSACTION_CONTEXT )

Definition at line 68 of file change/context.h.

◆ CG_TRANSACTION_CONTEXT_TAG

#define CG_TRANSACTION_CONTEXT_TAG   'cTcG'

Definition at line 25 of file change/context.h.

Typedef Documentation

◆ CG_FILE_CONTEXT

◆ CG_FILE_REFERENCE

◆ CG_TRANSACTION_CONTEXT

◆ PCG_FILE_CONTEXT

◆ PCG_FILE_REFERENCE

◆ PCG_TRANSACTION_CONTEXT

Function Documentation

◆ 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.

Social Network


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