IPortableDeviceCapabilities 接口 (portabledeviceapi.h)

IPortableDeviceCapabilities 接口各种设备功能,包括支持的格式、命令和功能对象。 可以通过调用 IPortableDevice::Capabilities 从设备检索此接口。

继承

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

方法

IPortableDeviceCapabilities 接口具有这些方法。

 
IPortableDeviceCapabilities::Cancel

Cancel 方法取消此接口上的挂起请求。
IPortableDeviceCapabilities::GetCommandOptions

GetCommandOptions 方法检索设备上指定命令支持的所有选项。
IPortableDeviceCapabilities::GetEventOptions

GetEventOptions 方法检索设备上指定事件支持的所有选项。
IPortableDeviceCapabilities::GetFixedPropertyAttributes

GetFixedPropertyAttributes 方法检索指定属性和格式的标准属性。
IPortableDeviceCapabilities::GetFunctionalCategories

GetFunctionalCategories 方法检索设备支持的所有功能类别。
IPortableDeviceCapabilities::GetFunctionalObjects

GetFunctionalObjects 方法检索与设备上的指定类别匹配的所有功能对象。
IPortableDeviceCapabilities::GetSupportedCommands

GetSupportedCommands 方法检索此设备支持的所有命令的列表。
IPortableDeviceCapabilities::GetSupportedContentTypes

GetSupportedContentTypes 方法检索设备上指定功能对象类型支持的所有内容类型。
IPortableDeviceCapabilities::GetSupportedEvents

GetSupportedEvents 方法检索此设备支持的事件。
IPortableDeviceCapabilities::GetSupportedFormatProperties

GetSupportedFormatProperties 方法检索设备上指定格式的对象支持的属性。
IPortableDeviceCapabilities::GetSupportedFormats

GetSupportedFormats 方法检索设备上指定对象类型的支持格式。 例如,指定音频对象可能会返回WPD_OBJECT_FORMAT_WMA、WPD_OBJECT_FORMAT_WAV和WPD_OBJECT_FORMAT_MP3。

要求

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

另请参阅

客户端接口