The GetDefaultFilterExtList method of the IFilterRegistration2 interface gets the list of file name extensions that are registered to use the default IFilter if no other IFilter is registered for that file name extension.
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.
pwszzBuf [out] A pointer to a WCHAR that receives one or more null-terminated file name extension strings. The last extension is terminated with two null characters.
pdwSize [in, out] A pointer to a DWORD that on input contains the number of characters in pwczzBuf and on output receives the number of characters written to the buffer.
For a list of errors returned by Microsoft SharePoint Portal Server Search (SharePointPSSearch) IFilter registration objects, see IFilter Administration Error Messages.
The GetDefaultFilterExtList method returns a list of file name extensions. When the SharePointPSSearch content indexing service determines which IFilter to apply to a file, it first checks the IFilters registered for that file name extension, MIME type, and class ID. If none of the assigned IFilters successfully processes the document, then the default IFilter is checked. The list of file name extensions includes those that are explicitly registered to use the default IFilter when no other registered IFilter successfully processes the document.
If the pwcsOverride string is not null, the method returns the file name extensions registered with that override string. The pwcsMachineName string indicates the computer name for which the list is returned.
Platform: Microsoft Windows Server 2003