IKsPropertySet

[The feature associated with this page, DirectSound, is a legacy feature. It has been superseded by WASAPI and Audio Graphs. Media Casting have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of DirectSound, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IKsPropertySet interface allows drivers to provide extended capabilities that can be used without API extensions. DirectSound supports this interface for accessing properties of sound drivers.

The IKsPropertySet interface is part of the WDM KS (Win32 driver model kernel streaming) architecture.

To retrieve this interface, call the QueryInterface method of any interface on a DirectSound buffer.

In addition to the methods inherited from IUnknown, the IKsPropertySet interface exposes the following methods.

IKsPropertySet Members

Method Description
IKsPropertySet::Get The Get method retrieves data for an item in a property set.
IKsPropertySet::QuerySupport The QuerySupport method ascertains whether a property in a property set is supported on the port or device.
IKsPropertySet::Set The Set method sets the value of a property in a property set.

Requirements

Header: Declared in DSound.h.

Library: Use Dsound3d.dll.

See Also

DirectSound Interfaces