WDK Mini Filter Example
filter/utility.c File Reference
#include "avscan.h"

Go to the source code of this file.

Functions

RTL_GENERIC_COMPARE_RESULTS NTAPI AvCompareEntry (_In_ PRTL_GENERIC_TABLE Table, _In_ PVOID Lhs, _In_ PVOID Rhs)
 
PVOID NTAPI AvAllocateGenericTableEntry (_In_ PRTL_GENERIC_TABLE Table, _In_ CLONG ByteSize)
 
VOID NTAPI AvFreeGenericTableEntry (_In_ PRTL_GENERIC_TABLE Table, _In_ __drv_freesMem(Mem) _Post_invalid_ PVOID Entry)
 
NTSTATUS AvGetFileId (_In_ PFLT_INSTANCE Instance, _In_ PFILE_OBJECT FileObject, _Out_ PAV_FILE_REFERENCE FileId)
 
NTSTATUS AvGetFileSize (_In_ PFLT_INSTANCE Instance, _In_ PFILE_OBJECT FileObject, _Out_ PLONGLONG Size)
 
NTSTATUS AvGetFileEncrypted (_In_ PFLT_INSTANCE Instance, _In_ PFILE_OBJECT FileObject, _Out_ PBOOLEAN Encrypted)
 
LONG AvExceptionFilter (_In_ PEXCEPTION_POINTERS ExceptionPointer, _In_ BOOLEAN AccessingUserBuffer)
 

Function Documentation

◆ AvAllocateGenericTableEntry()

PVOID NTAPI AvAllocateGenericTableEntry ( _In_ PRTL_GENERIC_TABLE  Table,
_In_ CLONG  ByteSize 
)

Definition at line 92 of file filter/utility.c.

◆ AvCompareEntry()

RTL_GENERIC_COMPARE_RESULTS NTAPI AvCompareEntry ( _In_ PRTL_GENERIC_TABLE  Table,
_In_ PVOID  Lhs,
_In_ PVOID  Rhs 
)

Definition at line 29 of file filter/utility.c.

◆ AvExceptionFilter()

LONG AvExceptionFilter ( _In_ PEXCEPTION_POINTERS  ExceptionPointer,
_In_ BOOLEAN  AccessingUserBuffer 
)

Definition at line 327 of file filter/utility.c.

◆ AvFreeGenericTableEntry()

VOID NTAPI AvFreeGenericTableEntry ( _In_ PRTL_GENERIC_TABLE  Table,
_In_ __drv_freesMem(Mem) _Post_invalid_ PVOID  Entry 
)

Definition at line 122 of file filter/utility.c.

◆ AvGetFileEncrypted()

NTSTATUS AvGetFileEncrypted ( _In_ PFLT_INSTANCE  Instance,
_In_ PFILE_OBJECT  FileObject,
_Out_ PBOOLEAN  Encrypted 
)

Definition at line 279 of file filter/utility.c.

◆ AvGetFileId()

NTSTATUS AvGetFileId ( _In_ PFLT_INSTANCE  Instance,
_In_ PFILE_OBJECT  FileObject,
_Out_ PAV_FILE_REFERENCE  FileId 
)

Definition at line 156 of file filter/utility.c.

◆ AvGetFileSize()

NTSTATUS AvGetFileSize ( _In_ PFLT_INSTANCE  Instance,
_In_ PFILE_OBJECT  FileObject,
_Out_ PLONGLONG  Size 
)

Definition at line 231 of file filter/utility.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