PKEY_AudioEndpoint_Association

The PKEY_AudioEndpoint_Association property associates a kernel-streaming (KS) pin category with an audio endpoint device. The .inf file that installs an audio adapter assigns a pin category to each KS pin in the adapter. A KS pin on an adapter device represents the point at which an audio stream enters or leaves the device. A pin category is a GUID that specifies the type of function performed by a KS pin. For example, header file Ksmedia.h defines pin-category GUID KSNODETYPE_MICROPHONE to indicate a KS pin that connects to a microphone, and KSNODETYPE_HEADPHONES to indicate a KS pin that connects to headphones. For more information, see the description of pin category properties in the Windows DDK documentation.

The vt member of the PROPVARIANT structure is set to VT_LPWSTR.

The pwszVal member of the PROPVARIANT structure points to a null-terminated, wide-character string that contains a KS pin category GUID.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mmdeviceapi.h

See also

Audio Endpoint Properties

Core Audio Properties