---
UID: NN:d2d1_3.ID2D1Factory7
title: ID2D1Factory7 (d2d1_3.h)
description: Creates Direct2D resources. This interface performs all the same functions as the ID2D1Factory6 interface, plus it enables the creation of ID2D1Device6 objects.
old-location: direct2d\id2d1factory7.htm
tech.root: Direct2D
ms.assetid: 1DF655A7-5700-4E87-B254-7F5E21C6CEE5
ms.date: 12/05/2018
ms.keywords: ID2D1Factory7, ID2D1Factory7 interface [Direct2D], ID2D1Factory7 interface [Direct2D],described, d2d1_3/ID2D1Factory7, direct2d.id2d1factory7
f1_keywords:
- d2d1_3/ID2D1Factory7
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:
- ID2D1Factory7
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID2D1Factory7 interface


## -description


Creates Direct2D resources. This interface performs all the same functions as the <a href="https://docs.microsoft.com/windows/desktop/api/d2d1_3/nn-d2d1_3-id2d1factory6">ID2D1Factory6</a> interface, 
        plus it enables the creation of <a href="https://docs.microsoft.com/windows/desktop/api/d2d1_3/nn-d2d1_3-id2d1device6">ID2D1Device6</a> objects.


## -inheritance

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

## -members

The <b>ID2D1Factory7</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-id2d1factory7-createdevice">CreateDevice</a>
</td>
<td align="left" width="63%">
Creates a new Direct2D device from the given IDXGIDevice

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

