IPortableDeviceCapabilities::GetSupportedContentTypes method (portabledeviceapi.h)
The GetSupportedContentTypes method retrieves all supported content types for a specified functional object type on a device.
Syntax
HRESULT GetSupportedContentTypes(
[in] REFGUID Category,
[out] IPortableDevicePropVariantCollection **ppContentTypes
);
Parameters
[in] Category
A REFGUID that specifies a functional object category. To get a list of functional categories on the device, call IPortableDeviceCapabilities::GetFunctionalCategories.
[out] ppContentTypes
Address of a variable that receives a pointer to an IPortableDevicePropVariantCollection interface that lists all the supported object types for the specified functional object category. These object types will be GUID values of type VT_CLSID in the retrieved PROPVARIANT items. See Requirements for Objects for a list of object types defined by Windows Portable Devices. 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. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | portabledeviceapi.h |
Library | PortableDeviceGUIDs.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for