IPortableDeviceServiceCapabilities::GetFormatRenderingProfiles method (portabledeviceapi.h)

The GetFormatRenderingProfiles method retrieves the rendering profiles of a format.

Syntax

HRESULT GetFormatRenderingProfiles(
  [in]  REFGUID                         Format,
  [out] IPortableDeviceValuesCollection **ppRenderingProfiles
);

Parameters

[in] Format

The format whose rendering profiles are retrieved.

[out] ppRenderingProfiles

The IPortableDeviceValuesCollection object that receives the list of rendering profiles.

Return value

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

Remarks

The rendering profiles are similar to what the WPD_FUNCTIONAL_CATEGORY_RENDERING_INFORMATION functional object returns for device-wide rendering profiles, so that the DisplayRenderingProfile helper function described in Retrieving the Rendering Capabilities Supported by a Device could be used here as well. But there are differences: The GetFormatRenderingProfiles method retrieves only rendering profiles that apply to the selected service and have been filtered by format.

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