Share via


ID2D1Device5::CreateDeviceContext-Methode (d2d1_3.h)

Erstellt einen neuen Gerätekontext ohne anfänglich zugewiesenes Ziel.

Syntax

HRESULT CreateDeviceContext(
        D2D1_DEVICE_CONTEXT_OPTIONS options,
  [out] ID2D1DeviceContext5         **deviceContext5
);

Parameter

options

Typ: D2D1_DEVICE_CONTEXT_OPTIONS

Optionen zum Erstellen des Gerätekontexts.

[out] deviceContext5

Typ: ID2D1DeviceContext5**

Der erstellte Gerätekontext.

Rückgabewert

Typ: HRESULT

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

Anforderungen

Anforderung Wert
Zielplattform Windows
Kopfzeile d2d1_3.h
DLL D2d1.dll

Weitere Informationen

ID2D1Device5