CallbackFilter.DeletePassthroughRule method

Filter:

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

CallbackFilter     See also    

Overview

This method deletes certain passthrough rule.

Declaration

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

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

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

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

[C#]
    bool DeletePassThroughRule(string Mask, CbFltAccessFlags AccessFlag, CbFltCallbackFlags CallbackFlag, CbFltNotifyFlags NotifyFlag);

[VB.NET]
    Function DeletePassThroughRule(ByVal Mask As String, ByVal AccessFlag As CbFltAccessFlags, ByVal CallbackFlag As CbFltCallbackFlags, ByVal NotifyFlag As CbFltNotifyFlags) 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
  • NotifyFlag - Identifies the notification 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 passthrough rule.

See also

DeleteAllPassThroughRules     GetPassThroughRule     AddPassThroughAccessRule     AddPassThroughRule