Deletes all reparse rules.
int DeleteAllReparseRules(const char* lpszProductGUID);
INT DeleteAllReparseRules(LPCWSTR lpszProductGUID);
This method deletes all reparse rules associated with the application identified by ProductGUID.
If the rules are deleted successfully, this method returns true; otherwise, it returns false.
In most cases, the value passed for the ProductGUID parameter should be the same one that was used to call the Initialize method. Please refer to the AddReparseRule method's documentation for more information.
To delete reparse rules individually, use the DeleteReparseRule method instead.
Note: The methods and properties related to rule management are not intended to be used from multiple threads at once. Applications that wish to use said methods and properties from multiple threads (such as, e.g., during the AfterFilterAttachToVolume and AfterFilterDetachFromVolume events) are responsible for employing proper thread synchronization techniques to ensure that manipulation and enumeration of the rule lists occurs in a thread-safe manner.
Error Handling (C++)
This method returns a Boolean value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.