PassthroughRuleMask Property

A file mask that determines which files and directories match the rule.

Syntax

char* GetPassthroughRuleMask(int iPassthroughRuleIndex);
LPWSTR GetPassthroughRuleMask(INT iPassthroughRuleIndex);

Default Value

""

Remarks

A file mask that determines which files and directories match the rule.

This property reflects the file mask used to determine whether a file or directory matches the rule. In addition to being its primary match qualifier, a rule's mask also serves as its identifier; every rule in a ruleset must have a unique mask.

Note that when a rule with a drive letter is added, said drive letter is automatically converted to NT Device format, so this property's value will contain the NT Device name. To determine a drive's drive letter, use the GetVolumeGUID method to obtain its volume GUID, then enumerate its mounting points (which will include any drive letter(s) associated with it).

The size of the array is controlled by the PassthroughRuleCount property.

This property is read-only and not available at design time.

Data Type

String

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