Compartilhar via


PKEY_AudioEndpoint_Association Property

Previous Next

PKEY_AudioEndpoint_Association Property

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

Client: Windows Vista

Header: Include Mmdeviceapi.h.

See Also

Previous Next