IDWriteFactory::CreateMonitorRenderingParams Method

Creates a rendering parameters object with default settings for the specified monitor. In most cases, this is the preferred way to create a rendering parameters object.

Syntax

virtual HRESULT CreateMonitorRenderingParams(
  HMONITOR  monitor,
  [out]  IDWriteRenderingParams ** renderingParams
) = 0;

Parameter

  • monitor
    A handle for the specified monitor.

  • renderingParams [out]
    When this method returns, contains an address of a pointer to the rendering parameters object created by this method.

Rückgabewert

Ist Methode erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll

Siehe auch

IDWriteFactory