ID2D1Factory8::CreateDevice 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 Direct2D device from the given IDXGIDevice.

Syntax

HRESULT CreateDevice(
  IDXGIDevice  *dxgiDevice,
  ID2D1Device7 **d2dDevice6
);

Parameters

dxgiDevice

Type: IDXGIDevice*

The IDXGIDevice from which to create the Direct2D device.

d2dDevice6

Type: ID2D1Device7 **

The created device.

Requirements

Requirement Value
Header d2d1_3.h