imDSPStorage2 接口 (mswmdm.h)

IMDSPStorage2 接口通过提供用于获取和设置扩展属性的方法以及从其名称获取指向存储介质的指针,来扩展 IMDSPStorage。 此接口还扩展了 IMDSPStorage 接口的 CreateStorage 方法。

继承

IMDSPStorage2 接口继承自 IMDSPStorageIMDSPStorage2 还具有以下类型的成员:

方法

IMDSPStorage2 接口包含以下方法。

 
IMDSPStorage2::CreateStorage2

CreateStorage2 方法创建具有指定名称的新存储,并返回指向新创建的存储上的 IMDSPStorage 接口的指针。
IMDSPStorage2::GetAttributes2

GetAttributes2 方法获取文件或存储的属性。
IMDSPStorage2::GetStorage

使用 GetStorage 方法可以从存储名称直接转到存储对象,而不是枚举所有存储来查找它。
IMDSPStorage2::SetAttributes2

SetAttributes2 方法通过允许设置音频和视频格式以及存储对象的扩展属性来扩展 IMDSPStorage::SetAttributes。

要求

要求
目标平台 Windows
标头 mswmdm.h

另请参阅

IMDSPStorage 接口

IMDSPStorage3 接口

IMDSPStorage4 接口

服务提供程序的接口