Compartilhar via


IPortableDeviceCapabilities Interface

banner art

Previous Next

IPortableDeviceCapabilities Interface

The IPortableDeviceCapabilities interface retrieves a variety of device capabilities, including supported formats, commands, and functional objects. You can retrieve this interface from a device by calling IPortableDevice::Capabilities.

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

Method Description
Cancel Cancels a pending request on this interface.
GetCommandOptions Retrieves all the supported options for the specified command on the device.
GetFixedPropertyAttributes Retrieves the standard property attributes for a specified property and format.
GetFunctionalCategories Retrieves all functional categories supported by the device.
GetFunctionalObjects Retrieves all functional objects that match a specified category on the device.
GetSupportedCommands Retrieves a list of all the supported commands for this device.
GetSupportedContentTypes Retrieves all supported content types for a specified functional object type on a device.
GetSupportedFormatProperties Retrieves the properties supported by objects of a specified format on the device.
GetSupportedFormats Retrieves the supported formats for a specified object type on the device.
GetSupportedEvents Retrieves the supported events for this device.
GetEventOptions Retrieves all the supported options for the specified event on the device.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next