Control over registry operations in Windows and .NET applications

CallbackRegistry.AddPassThroughCallbackRule method


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

CallbackRegistry     See also    


This method adds a passthrough callback rule.


    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);

    bool AddPassThroughCallbackRule(String Mask, CbFltCallbackFlags CallbackFlag);

    Function AddPassThroughCallbackRule(ByVal Mask As String, ByVal CallbackFlag As CbFltCallbackFlags) As Boolean


  • 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


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