WDK Mini Filter Example
avlib.h File Reference

Go to the source code of this file.

Data Structures

struct  _COMMAND_MESSAGE
 
struct  _SCANNER_NOTIFICATION
 
struct  _AV_CONNECTION_CONTEXT
 

Macros

#define AV_SCAN_PORT_NAME   L"\\MicrosoftAvSampleFilterScanPort"
 
#define AV_ABORT_PORT_NAME   L"\\MicrosoftAvSampleFilterAbortPort"
 
#define AV_QUERY_PORT_NAME   L"\\MicrosoftAvSampleFilterQueryPort"
 
#define AV_INVALID_SECTION_HANDLE   ((HANDLE)((LONG_PTR)(-1)))
 
#define AV_DEFAULT_SEARCH_PATTERN   "7?));=?z.5z8?z<5/4>"
 
#define AV_DEFAULT_SEARCH_PATTERN_SIZE   sizeof(AV_DEFAULT_SEARCH_PATTERN)
 
#define AV_DEFAULT_PATTERN_XOR_KEY   90
 

Typedefs

typedef enum _AVSCAN_COMMAND AVSCAN_COMMAND
 
typedef enum _AVSCAN_MESSAGE AVSCAN_MESSAGE
 
typedef enum _AVSCAN_REASON AVSCAN_REASON
 
typedef enum _AVSCAN_RESULT AVSCAN_RESULT
 
typedef struct _COMMAND_MESSAGE COMMAND_MESSAGE
 
typedef struct _COMMAND_MESSAGEPCOMMAND_MESSAGE
 
typedef struct _SCANNER_NOTIFICATION AV_SCANNER_NOTIFICATION
 
typedef struct _SCANNER_NOTIFICATIONPAV_SCANNER_NOTIFICATION
 
typedef enum _AVSCAN_CONNECTION_TYPE AVSCAN_CONNECTION_TYPE
 
typedef enum _AVSCAN_CONNECTION_TYPEPAVSCAN_CONNECTION_TYPE
 
typedef struct _AV_CONNECTION_CONTEXT AV_CONNECTION_CONTEXT
 
typedef struct _AV_CONNECTION_CONTEXTPAV_CONNECTION_CONTEXT
 

Enumerations

enum  _AVSCAN_COMMAND { AvIsFileModified, AvCmdCreateSectionForDataScan, AvCmdCloseSectionForDataScan }
 
enum  _AVSCAN_MESSAGE { AvMsgStartScanning, AvMsgAbortScanning, AvMsgFilterUnloading }
 
enum  _AVSCAN_REASON { AvScanOnOpen, AvScanOnCleanup }
 
enum  _AVSCAN_RESULT { AvScanResultUndetermined, AvScanResultInfected, AvScanResultClean }
 
enum  _AVSCAN_CONNECTION_TYPE { AvConnectForScan = 1, AvConnectForAbort, AvConnectForQuery }
 

Macro Definition Documentation

◆ AV_ABORT_PORT_NAME

#define AV_ABORT_PORT_NAME   L"\\MicrosoftAvSampleFilterAbortPort"

Definition at line 35 of file avlib.h.

◆ AV_DEFAULT_PATTERN_XOR_KEY

#define AV_DEFAULT_PATTERN_XOR_KEY   90

Definition at line 192 of file avlib.h.

◆ AV_DEFAULT_SEARCH_PATTERN

#define AV_DEFAULT_SEARCH_PATTERN   "7?));=?z.5z8?z<5/4>"

Definition at line 190 of file avlib.h.

◆ AV_DEFAULT_SEARCH_PATTERN_SIZE

#define AV_DEFAULT_SEARCH_PATTERN_SIZE   sizeof(AV_DEFAULT_SEARCH_PATTERN)

Definition at line 191 of file avlib.h.

◆ AV_INVALID_SECTION_HANDLE

#define AV_INVALID_SECTION_HANDLE   ((HANDLE)((LONG_PTR)(-1)))

Definition at line 43 of file avlib.h.

◆ AV_QUERY_PORT_NAME

#define AV_QUERY_PORT_NAME   L"\\MicrosoftAvSampleFilterQueryPort"

Definition at line 36 of file avlib.h.

◆ AV_SCAN_PORT_NAME

#define AV_SCAN_PORT_NAME   L"\\MicrosoftAvSampleFilterScanPort"

Definition at line 34 of file avlib.h.

Typedef Documentation

◆ AV_CONNECTION_CONTEXT

◆ AV_SCANNER_NOTIFICATION

◆ AVSCAN_COMMAND

◆ AVSCAN_CONNECTION_TYPE

◆ AVSCAN_MESSAGE

◆ AVSCAN_REASON

◆ AVSCAN_RESULT

◆ COMMAND_MESSAGE

◆ PAV_CONNECTION_CONTEXT

◆ PAV_SCANNER_NOTIFICATION

◆ PAVSCAN_CONNECTION_TYPE

◆ PCOMMAND_MESSAGE

Enumeration Type Documentation

◆ _AVSCAN_COMMAND

Enumerator
AvIsFileModified 
AvCmdCreateSectionForDataScan 
AvCmdCloseSectionForDataScan 

Definition at line 50 of file avlib.h.

◆ _AVSCAN_CONNECTION_TYPE

Enumerator
AvConnectForScan 
AvConnectForAbort 
AvConnectForQuery 

Definition at line 168 of file avlib.h.

◆ _AVSCAN_MESSAGE

Enumerator
AvMsgStartScanning 
AvMsgAbortScanning 
AvMsgFilterUnloading 

Definition at line 62 of file avlib.h.

◆ _AVSCAN_REASON

Enumerator
AvScanOnOpen 
AvScanOnCleanup 

Definition at line 70 of file avlib.h.

◆ _AVSCAN_RESULT

Enumerator
AvScanResultUndetermined 
AvScanResultInfected 
AvScanResultClean 

Definition at line 76 of file avlib.h.

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