Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPortableDevice::Capabilities method

The Capabilities method retrieves an interface used to query the capabilities of a portable device.

Syntax


HRESULT Capabilities(
  [out] IPortableDeviceCapabilities **ppCapabilities
);

Parameters

ppCapabilities [out]

Address of a variable that receives a pointer to an IPortableDeviceCapabilities interface that can describe the device's capabilities. The caller must release this interface when it is done with it.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_POINTER

The ppCapabilities argument was a NULL pointer.

 

Examples

For an example of how to use this method, see Retrieving the Functional Categories Supported by a Device.

Requirements

Header

PortableDeviceApi.h

Library

PortableDeviceGUIDs.lib

See also

IPortableDevice Interface
Retrieving the Functional Categories Supported by a Device
Retrieving the Rendering Capabilities Supported by a Device

 

 

Community Additions

Show:
© 2017 Microsoft