KSJACK_DESCRIPTION2 structure (devicetopology.h)

The KSJACK_DESCRIPTION2 structure describes an audio jack.

To get the description of an audio jack of a connector, call IKsJackDescription2::GetJackDescription2.

Syntax

typedef struct _tagKSJACK_DESCRIPTION2 {
  DWORD DeviceStateInfo;
  DWORD JackCapabilities;
} KSJACK_DESCRIPTION2, *PKSJACK_DESCRIPTION2;

Members

DeviceStateInfo

Reserved for future use.

JackCapabilities

Stores the audio jack's capabilities: jack presence detection capability or dynamic format changing capability. The constants that can be stored in this member of the structure are defined in Ksmedia.h as follows:

  • JACKDESC2_PRESENCE_DETECT_CAPABILITY (0x00000001)
  • JACKDESC2_DYNAMIC_FORMAT_CHANGE_CAPABILITY (0x00000002)

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header devicetopology.h

See also

Core Audio Structures

IKsJackDescription2