Passthrough rules are a type of special filter rule supported by the CBFilter, CBMonitor, and CBRegistry classs. Passthrough rules instruct the class's system driver to explicitly exclude certain requests from processing, thus counteracting any standard filter rules and/or access rules that they would otherwise match.
Like standard filter rules, passthrough rules use either a file mask or a registry key mask to determine which files/directories or registry keys match. For CBFilter and CBMonitor, passthrough rules can also include additional qualifiers like file size, attributes, etc.; but as with standard filter rules, the mask always takes precedence.
When adding a passthrough rule, applications can specify one or both of the following things:
- Which specific filesystem/registry operations the class should not fire events for (to counteract standard filter rules).
- Which specific access restrictions the class's system driver should not apply (to counteract access rules).
- AddPassthroughRuleEx (CBFilter and CBMonitor only)
Passthrough rules are deactivated and deleted when the application exits.