CallbackRegistry

Control over registry operations in Windows and .NET applications

CallbackRegistry.AddPassThroughCallbackRule method

Filter:

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

CallbackRegistry     See also    

Overview

This method adds a passthrough callback rule.

Declaration

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

[C++ (Lib)]
    bool AddPassThroughCallbackRule(LPCWSTR Mask, CbFltCallbackFlags CallbackFlag);

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

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

[C#]
    bool AddPassThroughCallbackRule(String Mask, CbFltCallbackFlags CallbackFlag);

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

Parameters

  • Mask - mask of the files to apply the filter to
  • CallbackFlag - flags to be set on files that match the Mask

Return values

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

CallbackFlag values

Description

Use this method to add a passthrough callback rule. Passthrough callback rules let you exclude files from processing with callback rules.

Read more about passthrough rules.

See also

AddFilterCallbackRule     AddPassThroughAccessRule     DeletePassThroughRule    

Back to top