CallbackRegistry

Control over registry operations in Windows and .NET applications

CallbackRegistry.AddPassThroughCallbackRuleEx method

Filter:

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

CallbackRegistry     See also    

Overview

This method adds a passthrough callback rule with filtering by Extended Attribute name.

Declaration

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

[C++ (Lib)]
    bool AddPassThroughCallbackRuleEx(LPCWSTR Mask, LPCSTR EaName, CbFltCallbackFlags CallbackFlag);

[C++ (VCL)]
    bool __fastcall AddPassThroughCallbackRuleEx(WideString Mask, AnsiString EaName, unsigned CallbackFlag);

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

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

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

Parameters

  • Mask - mask of the files to apply the filter to
  • EaName - name of the extended attribute. Wildcard characters are not allowed
  • 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

AddFilterCallbackRuleEx     AddPassThroughAccessRuleEx     DeletePassThroughRule    

Back to top