Minifilter Driver Callback Routines

This section describes callback routines that can be implemented by file system minifilter drivers.

In this section

TopicDescription

PFLT_COMPLETE_LOCK_CALLBACK_DATA_ROUTINE

A minifilter driver can register a routine of type PFLT_COMPLETE_LOCK_CALLBACK_DATA_ROUTINE as the minifilter driver's CompleteLockCallbackDataRoutine callback routine for a FILE_LOCK structure.

PFLT_COMPLETED_ASYNC_IO_CALLBACK

A minifilter driver that initiates an asynchronous I/O operation can specify a routine of type PFLT_COMPLETED_ASYNC_IO_CALLBACK routine to be called when the operation is completed.

PFLT_CONTEXT_ALLOCATE_CALLBACK

A minifilter driver can register a routine of type PFLT_CONTEXT_ALLOCATE_CALLBACK as the minifilter driver's ContextAllocateCallback routine.

PFLT_CONTEXT_CLEANUP_CALLBACK

A minifilter driver can register a routine of type PFLT_CONTEXT_CLEANUP_CALLBACK as the minifilter driver's ContextCleanupCallback routine.

PFLT_CONTEXT_FREE_CALLBACK

A minifilter can register a routine of type PFLT_CONTEXT_FREE_CALLBACK as the minifilter driver's ContextFreeCallback routine.

PFLT_FILTER_UNLOAD_CALLBACK

A minifilter driver can register a routine of type PFLT_FILTER_UNLOAD_CALLBACK as the minifilter driver's FilterUnloadCallback routine.

PFLT_GENERATE_FILE_NAME

A minifilter driver that provides file names for the filter manager's name cache can register a routine of type PFLT_GENERATE_FILE_NAME as the minifilter driver's GenerateFileNameCallback routine.

PFLT_GET_OPERATION_STATUS_CALLBACK

A minifilter driver can register a routine of type PFLT_GET_OPERATION_STATUS_CALLBACK as the minifilter driver's OperationStatusCallback routine.

PFLT_INSTANCE_QUERY_TEARDOWN_CALLBACK

A minifilter driver can register a routine of type PFLT_INSTANCE_QUERY_TEARDOWN_CALLBACK as the minifilter driver's InstanceQueryTeardownCallback routine.

PFLT_INSTANCE_SETUP_CALLBACK

A minifilter driver can register a routine of type PFLT_INSTANCE_SETUP_CALLBACK as the minifilter driver's InstanceSetupCallback routine.

PFLT_INSTANCE_TEARDOWN_CALLBACK

A minifilter driver can register two routines of type PFLT_INSTANCE_TEARDOWN_CALLBACK as the minifilter driver's InstanceTeardownStartCallback and InstanceTeardownCompleteCallback routines.

PFLT_NORMALIZE_CONTEXT_CLEANUP

A minifilter driver that provides file names for the filter manager's name cache can register a routine of type PFLT_NORMALIZE_CONTEXT_CLEANUP as the minifilter driver's NormalizeContextCleanupCallback routine.

PFLT_NORMALIZE_NAME_COMPONENT

A minifilter driver that provides file names for the filter manager's name cache can register a routine of type PFLT_NORMALIZE_NAME_COMPONENT as the minifilter driver's NormalizeNameComponentCallback routine.

PFLT_NORMALIZE_NAME_COMPONENT_EX

A minifilter driver that provides file names for the filter manager's name cache can register a routine of type PFLT_NORMALIZE_NAME_COMPONENT_EX as the minifilter driver's NormalizeNameComponentExCallback callback routine.

PFLT_POST_OPERATION_CALLBACK

A minifilter driver can register one or more routines of type PFLT_POST_OPERATION_CALLBACK to perform completion processing for I/O operations.

PFLT_PRE_OPERATION_CALLBACK

A minifilter driver's PFLT_PRE_OPERATION_CALLBACK routine performs pre-operation processing for I/O operations.

PFLT_SECTION_CONFLICT_NOTIFICATION_CALLBACK

A minifilter driver can optionally register a routine of type PFLT_CONTEXT_ALLOCATE_CALLBACK as the minifilter driver's SectionNotificationCallback routine. Certain file operations are incompatible with file sections. If a minifilter provides a SectionNotificationCallback routine, the callback is called when section conflicts occur.

PFLT_TRANSACTION_NOTIFICATION_CALLBACK

A minifilter driver can register a routine of type PFLT_TRANSACTION_NOTIFICATION_CALLBACK as its TransactionNotificationCallback routine.

 

 

 

Send comments about this topic to Microsoft

Show: