CallbackRegistry

Control over registry operations in Windows and .NET applications

CallbackRegistry.DeleteReparseFileNameRule method

Filter:

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

CallbackRegistry     See also    

Overview

This method deletes access redirection rule.

Declaration

[Pascal]
    function DeleteReparseFileNameRule( Mask : TCBString; ProductName : AnsiString ): boolean;
    type TCBString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[C++ (Lib)]
    bool DeleteReparseFileNameRule( LPCWSTR Mask, LPCSTR ProductName );

[C++ (VCL)]
    bool __fastcall DeleteReparseFileNameRule( WideString Mask, AnsiString ProductName );

[C++ (.NET)]
    bool DeleteReparseFileNameRule( String^ Mask, String^ ProductName );

[C#]
    bool DeleteReparseFileNameRule( String Mask, String ProductName );

[VB.NET]
    Function DeleteReparseFileNameRule( ByVal Mask As String, ByVal ProductName As String) As Boolean

Parameters

  • Mask - mask of the files that identifies the rule
  • ProductName - the name or symbolic identifier of the program that has set the rule

Return values

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

Description

Use this method to delete a rule for redirecting file access. Mask and ProductName identify the previously added rule.

See also

AddReparseFileNameRule     DeleteAllReparseFileNameRules     GetReparseFileNameRule     GetReparseFileNameRulesCount    

Back to top