IDWriteFactory::CreateRenderingParams method (dwrite.h)

Creates a rendering parameters object with default settings for the primary monitor. Different monitors may have different rendering parameters, for more information see the How to Add Support for Multiple Monitors topic.

Syntax

HRESULT CreateRenderingParams(
  [out] IDWriteRenderingParams **renderingParams
);

Parameters

[out] renderingParams

Type: IDWriteRenderingParams**

When this method returns, contains an address of a pointer to the newly created rendering parameters object.

Return value

Type: HRESULT

Standard HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFactory

IDWriteFactory::CreateMonitorRenderingParams