Previous Next

KSDATARANGE

The KSDATARANGE structure is a variable-length structure that describes a range of data formats.

typedef struct {
    ULONG FormatSize;
    ULONG Flags;
    ULONG SampleSize;
    ULONG Reserved;
    GUID MajorFormat;
    GUID SubFormat
    GUID Specifier;
} KSDATARANGE;

Members

FormatSize
Specifies the size in bytes of this structure. This must be at least sizeof(KSDATARANGE), but may be larger for specific settings of MajorFormat, SubFormat, and Specifier.
Flags
This field is ignored.
SampleSize
This field is ignored.
Reserved
Reserved. Drivers must set this to zero.
MajorFormat
Specifies either the specific major format of a data format that this data range matches, or KSDATAFORMAT_TYPE_WILDCARD if this data range matches all major formats. When MajorFormat has this value, both SubFormat and Specifier must also take on their wild card values.
SubFormat
Specifies either the specific subformat of a data format that this data range matches, or KSDATAFORMAT_SUBTYPE_WILDCARD if this data range matches all subformats. (In this instance, the specifier is not required to be its wild card value, unless MajorFormat is KSDATAFORMAT_TYPE_WILDCARD.)
Specifier
Specifies either the specifier of the data format that this data range matches, or KSDATAFORMAT_SPECIFIER_WILDCARD if this data range matches all specifier values.

Headers

Declared in ks.h. Include ks.h.

Comments

Drivers use data ranges to describe the ranges of data formats they support.