IPortableDevice::Capabilities method (portabledeviceapi.h)
The Capabilities method retrieves an interface used to query the capabilities of a portable device.
HRESULT Capabilities( [out] IPortableDeviceCapabilities **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.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
||The ppCapabilities argument was a NULL pointer.|