IKsPropertySet 接口 (dsound.h)

IKsPropertySet 接口提供了访问 KS 微型驱动程序中实现的 KS 对象的属性的方法。

此接口的 IID 是IID_IKsPropertySet。

注意

头文件 ksproxy.hdsound.h 定义 IKsPropertySet 接口的类似但不兼容的版本。 需要 KS 代理模块的应用程序应使用 ksproxy.h 中定义的版本。 IKsPropertySet 的 DirectSound 版本在 Microsoft Windows SDK 文档中的 DirectSound 参考页中介绍。 如果应用程序必须同时包含 ksproxy.hdsound.h,则编译器首先扫描的头文件都是编译器使用 其 IKsPropertySet 定义的头文件。

继承

IKsPropertySet 接口继承自 IUnknown 接口。 IKsPropertySet 还具有以下类型的成员:

方法

IKsPropertySet 接口具有这些方法。

 
IKsPropertySet::Get

Get 方法检索由属性集 GUID 和属性标识符标识的属性。 此方法属于 dsound.h 中的 IKsPropertySet。
IKsPropertySet::Set

Set 方法设置由属性集 GUID 和属性标识符标识的属性。 此方法属于 dsound.h 中的 IKsPropertySet。

注解

IKsPropertySet 接口方法将用户模式属性请求转换为 KS 微型驱动程序使用的内核模式属性集。

例如,KS 对象包括 KS 筛选器、KS 引脚和 KS 时钟。

要求

要求
目标平台 Windows
标头 dsound.h (包括 Ksproxy.h)