Filter:Pascal C++ (Lib) C++ (VCL) C++ (.NET) C# VB.NET
This method adds an on-boot rule.
- Mask - mask of the files to apply filter to
- AccessFlag - flags to be set on files that match the Mask
- ProductName - the name or symbolic identifier of the program that has set the rule
TRUE / true if the function succeeded or FALSE / false if the function failed.
Use this method to add an on-boot rule, which is used by the driver loaded during system startup.
ProductName is used to distinguish the rules, set by different applications or modules. The value is used as a key in registry, so keep it short but unique. String format of GUID value works fine.
Read more about default rules.
Read more about masks.