CallbackRegistry

Control over registry operations in Windows and .NET applications

CallbackRegistry.AddPassThroughAccessRule method

Filter:

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

CallbackRegistry     See also    

Overview

This method adds a passthrough access rule.

Declaration

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

[C++ (Lib)]
    bool AddPassThroughAccessRule(LPCWSTR Mask, CbFltAccessFlags AccessFlag);

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

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

[C#]
    bool AddPassThroughAccessRule(String Mask, CbFltAccessFlags AccessFlag);

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

Parameters

  • Mask - mask of the files to apply the filter to
  • AccessFlag - 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.

AccessFlag values

Description

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

Read more about passthrough rules.

See also

AddFilterAccessRule     AddPassThroughCallbackRule     DeletePassThroughRule    

Back to top