Wild Cards

The header file Ks.h defines the following wild-card parameters for KS data ranges:

  • KSDATAFORMAT_TYPE_WILDCARD

  • KSDATAFORMAT_SUBTYPE_WILDCARD

  • KSDATAFORMAT_SPECIFIER_WILDCARD

The MajorFormat, Subformat, and Specifier members of the DataRange member of the KSDATARANGE_AUDIO structure can be set to these values. A wild card matches any corresponding value to which it is being compared, including any data formats that might be defined in the future. System filters that can move data without understanding the data format are the primary users of wild cards. Adapter drivers should avoid specifying wild cards in the data ranges for their filter pins, but they should be prepared to accept wild cards in the data ranges for the client filter's pins.