---
UID: NN:d2d1_3.ID2D1Device6
title: ID2D1Device6 (d2d1_3.h)
description: Represents a resource domain whose objects and device contexts can be used together. This interface performs all the same functions as the ID2D1Device5 interface, plus it enables the creation of ID2D1DeviceContext6 objects.
old-location: direct2d\id2d1device6.htm
tech.root: Direct2D
ms.assetid: 4C8AA3D6-E08E-45CE-958A-DBC8C9EB7B97
ms.date: 12/05/2018
ms.keywords: ID2D1Device6, ID2D1Device6 interface [Direct2D], ID2D1Device6 interface [Direct2D],described, d2d1_3/ID2D1Device6, direct2d.id2d1device6
f1_keywords:
- d2d1_3/ID2D1Device6
dev_langs:
- c++
req.header: d2d1_3.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: D2d1.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D2d1.dll
api_name:
- ID2D1Device6
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID2D1Device6 interface


## -description


Represents a resource domain whose objects and device contexts can be used together. 
        This interface performs all the same functions as the <a href="https://docs.microsoft.com/windows/desktop/api/d2d1_3/nn-d2d1_3-id2d1device5">ID2D1Device5</a> interface, 
        plus it enables the creation of <a href="https://docs.microsoft.com/windows/desktop/api/d2d1_3/nn-d2d1_3-id2d1devicecontext6">ID2D1DeviceContext6</a> objects.


## -inheritance

The <b xmlns:loc="http://microsoft.com/wdcml/l10n">ID2D1Device6</b> interface inherits from <a href="https://docs.microsoft.com/windows/desktop/api/d2d1_3/nn-d2d1_3-id2d1device5">ID2D1Device5</a>. <b>ID2D1Device6</b> also has these types of members:
<ul>
<li><a href="https://docs.microsoft.com/">Methods</a></li>
</ul>

## -members

The <b>ID2D1Device6</b> interface has these methods.
<table class="members" id="memberListMethods">
<tr>
<th align="left" width="37%">Method</th>
<th align="left" width="63%">Description</th>
</tr>
<tr data="declared;">
<td align="left" width="37%">
<a href="https://docs.microsoft.com/windows/desktop/api/d2d1_3/nf-d2d1_3-id2d1device6-createdevicecontext">CreateDeviceContext</a>
</td>
<td align="left" width="63%">
Creates a new device context with no initially assigned target.

</td>
</tr>
</table> 

