CallbackFilter.DeleteReparseFileNameRule method


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

CallbackFilter     See also    


This method deletes access redirection rule.


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

    bool DeleteReparseFileNameRule( String Mask, String ProductName );

    Function DeleteReparseFileNameRule( ByVal Mask As String, ByVal ProductName As String) As Boolean


  • 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.


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