FilterMode Property

The filter mode the class's system driver should use.


int GetFilterMode();
int SetFilterMode(int iFilterMode);
INT GetFilterMode();
INT SetFilterMode(INT iFilterMode);

Default Value



This property specifies whether the class's system driver should operate in minifilter or legacy mode; please refer to the Minifilter and Legacy Modes topic for more information. Possible values are:

FS_FILTER_MODE_LEGACY0Use legacy filesystem filter mode.

Note: Legacy mode is obsolete; support for it is deprecated, and will be removed in a future product update. Please refer to the Minifilter and Legacy Modes topic for more information.

FS_FILTER_MODE_MINIFILTER1Use filesystem minifilter mode.

Please note that:

  • A driver altitude must be specified, via the Altitude property or the Install method, in order to successfully start the filter if this property is FS_FILTER_MODE_MINIFILTER (default).
  • If this property's value is changed, the system must be rebooted in order for the change to go into effect.

Note: This property cannot be changed when Active is true. Additionally, the Initialize method must be called before attempting to get or set this property's value, which is stored in the registry.

This property is not available at design time.

Data Type


Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Filter 2020 C++ Edition - Version 20.0 [Build 7836]