CallbackFilter

Instant control over file and folder operations in Windows and .NET applications

CallbackFilter.GetFilterDefaultCount method

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CallbackFilter     See also    

Overview

Returns the number of on-boot rules

Declaration

[Pascal]
    function GetFilterDefaultCount(ProductName : AnsiString) : integer;

[C++ (Lib)]
    int GetFilterDefaultCount(LPCSTR ProductName);

[C++ (VCL)]
    int __fastcall GetFilterDefaultCount( AnsiString ProductName);

[C++ (.NET)]
    int GetFilterDefaultCount(String^ ProductName);

[C#]
    int GetFilterDefaultCount(string ProductName);

[VB.NET]
    Function GetFilterDefaultCount(ByVal ProductName As String) As Integer

Parameters

  • ProductName - the name or symbolic identifier of the program that has set the rule

Description

Use this method to get the number of on-boot rules, set by your application.

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.

See also

AddFilterDefaultRule     DeleteFilterDefaultRule     GetFilterDefaultRule    

Back to top