Compartilhar via


IPortableDevice::Capabilities

banner art

Previous Next

IPortableDevice::Capabilities

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

Syntax

  HRESULT Capabilities(
  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 Values

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

Return code Description
S_OK The method succeeded.
E_POINTER The ppCapabilities argument was a NULL pointer.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next