Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Capabilities method retrieves an interface used to query the capabilities of a portable device.
Syntax
HRESULT Capabilities(
[out] IPortableDeviceCapabilities **ppCapabilities
);
Parameters
[out] ppCapabilities
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 code | Description |
|---|---|
|
The method succeeded. |
|
The ppCapabilities argument was a NULL pointer. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | portabledeviceapi.h |
| Library | PortableDeviceGUIDs.lib |