User-Mode Library

The filter manager user mode interfaces provide common functionality for products that include filter drivers. The user-mode library is Fltlib.dll. Applications include the header files FltUser.h and FltUserStructures.h, and link to FltLib.lib.

These user-mode interfaces enable general control of the minifilter driver and communication between the user-mode service or control program and the filter driver. User-mode interfaces also provide interfaces for management tools that allow enumeration of filters, volumes, and instances.

For minifilters, user-mode communication APIs do not require administrator privileges. Instead, a minifilter defines the necessary privilege using an ACL defined on a port.

Filter Manager User-Mode Library Routines

The filter manager provides the following support routines for user-mode applications to use for loading and unloading minifilter drivers:

FilterLoad

FilterUnload

The following support routines are provided for creating and closing minifilter driver and instance handles:

FilterClose

FilterCreate

FilterInstanceClose

FilterInstanceCreate

The following support routines are provided for attaching and detaching minifilter driver instances:

FilterAttach

FilterAttachAtAltitude

FilterDetach

The following support routines are provided for enumerating filters, volumes, and instances:

FilterFindFirst

FilterFindNext

FilterInstanceFindFirst

FilterInstanceFindNext

FilterVolumeFindFirst

FilterVolumeFindNext

FilterVolumeInstanceFindFirst

FilterVolumeInstanceFindNext

The following support routines are provided for querying for information:

FilterGetDosName

FilterGetInformation

FilterInstanceGetInformation

The following support routines are provided for communication initiated by a user operation:

FilterConnectCommunicationPort

FilterSendMessage

The following support routines are provided for responding to communication initiated by a minifilter driver:

FilterGetMessage

FilterReplyMessage