ID2D1Device5::CreateDeviceContext method

Creates a new device context with no initially assigned target.

Syntax


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

Parameters

options

Type: D2D1_DEVICE_CONTEXT_OPTIONS

Options for creating the device context.

deviceContext5 [out]

Type: ID2D1DeviceContext5**

The created device context.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Header

D2d1_3.h

DLL

D2d1.dll

See also

ID2D1Device5

 

 

Show: