Share via


ID2D1DeviceContext5::CreateColorContextFromSimpleColorProfile(constD2D1_SIMPLE_COLOR_PROFILE*,ID2D1ColorContext1**)-Methode (d2d1_3.h)

Erstellt einen Farbkontext aus einem einfachen Farbprofil. Es ist nur gültig, dies mit dem Farbverwaltungseffekt im Modus "Best" zu verwenden.

Syntax

HRESULT CreateColorContextFromSimpleColorProfile(
  [in]  const D2D1_SIMPLE_COLOR_PROFILE *simpleProfile,
  [out] ID2D1ColorContext1              **colorContext
);

Parameter

[in] simpleProfile

Typ: const D2D1_SIMPLE_COLOR_PROFILE*

Das einfache Farbprofil, aus dem der Farbkontext erstellt werden soll.

[out] colorContext

Typ: ID2D1ColorContext1**

Der erstellte Farbkontext.

Rückgabewert

Typ: HRESULT

Diese Methode gibt einen HRESULT-Erfolgs- oder Fehlercode zurück.

Anforderungen

   
Zielplattform Windows
Kopfzeile d2d1_3.h
DLL D2d1.dll

Weitere Informationen

ID2D1DeviceContext5