Share via


FILTERED_DATA_SOURCES Structure

The FILTERED_DATA_SOURCES structure specifies parameters for a data source for which an IFilter is loaded. This data structure is used by methods of the ILoadFilter interface.

typedef struct _FILTERED_DATA_SOURCE {
  WCHAR const * pwcsExtension;
  WCHAR const * pwcsMime;
  CLSID const * pClsid;
  WCHAR const * pwcsOverride;
} FILTERED_DATA_SOURCES;

Members

The following table describes the members of the FILTERED_DATA_SOURCES structure.

Member Data type Description
pwcsExtension Pointer to a WCHAR Contains a file name extension.
pwcsMime Pointer to a WCHAR Contains the name of a MIME type.
pClsid Pointer to a CLSID Contains a class ID identifying the content type.
pwcsOverride Pointer to a WCHAR Contains an override string.

Remarks

The FILTERED_DATA_SOURCES structure can hold one file content identifier of each type. If the pwcsOverride parameter is not null, the load methods search first under the override area for a matching string. If pwcsOverride is a null string, then the IFilters that are not overridden are searched. In both cases, the IFilters for the file name extension or MIME type are searched first, followed by the class ID. If no suitable IFilter is found, then the default IFilter is checked.

The following methods of the ILoadFilter interface use this structure: