Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPortableDeviceServiceCapabilities::GetFormatRenderingProfiles method

The GetFormatRenderingProfiles method retrieves the rendering profiles of a format.

Syntax


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

Parameters

Format [in]

The format whose rendering profiles are retrieved.

ppRenderingProfiles [out]

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

PortableDeviceAPI.h

IDL

PortableDeviceAPI.idl

See also

IPortableDeviceServiceCapabilities Interface

 

 

Community Additions

Show:
© 2017 Microsoft