ID2D1Device7::CreateDeviceContext method (d2d1_3.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Creates a new device context with no initially assigned target.

Syntax

HRESULT CreateDeviceContext(
  D2D1_DEVICE_CONTEXT_OPTIONS options,
  ID2D1DeviceContext7         **deviceContext
);

Parameters

options

Type: D2D1_DEVICE_CONTEXT_OPTIONS

Options for creating the device context.

deviceContext

Type: ID2D1DeviceContext7 **

The created device context.

Requirements

Requirement Value
Header d2d1_3.h