Bewerken

Delen via


KSAUDIOMODULE_DESCRIPTOR structure (ksmedia.h)

The KSAUDIOMODULE_DESCRIPTOR structure describes the static, external properties of audio modules.

Syntax

typedef struct _KSAUDIOMODULE_DESCRIPTOR {
  GUID  ClassId;
  ULONG InstanceId;
  ULONG VersionMajor;
  ULONG VersionMinor;
  WCHAR Name[AUDIOMODULE_MAX_NAME_CCH_SIZE];
} KSAUDIOMODULE_DESCRIPTOR, *PKSAUDIOMODULE_DESCRIPTOR;

Members

ClassId

The ClassId of the audio module. The ClassId is an identifier that establishes what type of module this is. The value and mapping is established by the ISV and IHV.

InstanceId

The InstanceId of the audio module. The InstanceId is a unique identifier that distinguishes this instance of a module from another instance of a module.

VersionMajor

The major version of the audio module. Usage is defined by the implementer.

VersionMinor

The minor version of the audio module. Usage is defined by the implementer.

Name[AUDIOMODULE_MAX_NAME_CCH_SIZE]

The friendly name of the audio module. The maximum length is AUDIOMODULE_MAX_NAME_CCH_SIZE wide characters. It is defined as 128 in KSMedia.h.

Remarks

For more information about audio modules, see Implementing Audio Module Discovery.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703
Header ksmedia.h

See also

KSPROPERTY_AUDIOMODULE_DESCRIPTORS