CallbackFilter

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

CallbackFilter.DeleteFilterRule method

Filter:

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

CallbackFilter     See also    

Overview

This method deletes certain filter rule.

Declaration

[Pascal]
    function DeleteFilterRule(Mask : TCBString; AccessFlag : LongWord; CallbackFlag : LongWord): boolean;
    type TCBString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[C++ (Lib)]
    bool DeleteFilterRule(LPCWSTR Mask, CbFltAccessFlags AccessFlag, CbFltCallbackFlags CallbackFlag);

[C++ (VCL)]
    bool __fastcall DeleteFilterRule(WideString Mask, unsigned AccessFlag, unsigned CallbackFlag);

[C++ (.NET)]
    bool DeleteFilterRule(String^ Mask, CbFltAccessFlags AccessFlag, CbFltCallbackFlags CallbackFlag);

[C#]
    bool DeleteFilterRule(string Mask, CbFltAccessFlags AccessFlag, CbFltCallbackFlags CallbackFlag);

[VB.NET]
    Function DeleteFilterRule(ByVal Mask As String, ByVal AccessFlag As CbFltAccessFlags, ByVal CallbackFlag As CbFltCallbackFlags) As Boolean

Parameters

  • Mask - Identifies the mask of the rule that needs to be deleted
  • AccessFlag - Identifies the access flag of the rule that needs to be deleted
  • CallbackFlag - Identifies the callback flag of the rule that needs to be deleted

Return values

TRUE / true if the function succeeded or FALSE / false if the function failed.

AccessFlag values

CallbackFlag values

Description

Use this method to remove the desired filter rule.

See also

DeleteAllFilterRules     GetFilterRule     AddFilterAccessRule     AddFilterCallbackRule    

Back to top