IPortableDeviceServiceCapabilities::GetSupportedFormats method (portabledeviceapi.h)

The GetSupportedFormats method retrieves the formats supported by the service.

Syntax

HRESULT GetSupportedFormats(
  [out] IPortableDevicePropVariantCollection **ppFormats
);

Parameters

[out] ppFormats

The IPortableDevicePropVariantCollection interface that receives the list of formats.

Return value

If the method succeeds, it returns S_OK. Any other HRESULT value indicates that the call failed.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header portabledeviceapi.h

See also

IPortableDeviceServiceCapabilities Interface

Retrieving Supported Service Formats