KSATTRIBUTE structure (ks.h)

The KSATTRIBUTE structure defines an additional attribute of a data format or data range that is not covered by the KSDATAFORMAT and KSDATARANGE structures or the extended information based on the format and range specifiers.

Syntax

typedef struct {
  ULONG Size;
  ULONG Flags;
  GUID  Attribute;
} KSATTRIBUTE, *PKSATTRIBUTE;

Members

Size

Specifies the size of the attribute. This is at least the size of the KSATTRIBUTE structure and may be more if there is extended information based on the identifying GUID in the Attribute field.

Flags

Specifies the flags of the attribute. The only used flag is KSATTRIBUTE_REQUIRED; this flag specifies that an attribute is required. If this flag is not set, the attribute is optional. Note that the topmost bit is reserved for internal use in KS.

Attribute

Specifies the unique identifier of the attribute.

Remarks

Note that KSATTRIBUTE is used in conjunction with data formats and data ranges; attributes on data formats and ranges are taken into consideration when determining if a data format is acceptable to a given pin or if a data range intersects with another data range.

Requirements

Requirement Value
Header ks.h (include Ks.h)

See also

KSDATAFORMAT

KSDATARANGE