UnregisterDefaultFilterExtList Method
The UnregisterDefaultFilterExtList method removes the list of file name extensions that have been registered to use the default IFilter.
Syntax
HRESULTUnregisterDefaultFilterExtList (WCHAR const *pwcsOverride,
WCHAR const *pwcsMachineName);
Parameters
- pwcsOverride
[in] A pointer to a WCHAR that contains an override string, such as the application name. - pwcsMachineName
[in] Not used. Value should be 0.
Return Value
For a list of errors returned by SharePoint Portal Server IFilter registration objects, see Error Messages.
Remarks
This method removes the registry settings that specify the file name extensions that explicitly use the default IFilter if no other IFilter registered for that file type is successful.
If the pwcsOverride string is not null, the method removes the file name extensions registered with that override string. The pwcsMachineName string indicates the computer name from which the settings are removed.