---
UID: NF:d3d11.CD3D11_RECT.CD3D11_RECT(const D3D11_RECT &)
title: CD3D11_RECT::CD3D11_RECT(const D3D11_RECT &) (d3d11.h)
description: Instantiates a new instance of a CD3D11_RECT structure that is initialized with a D3D11_RECT structure.
old-location: 
tech.root: direct3d11
ms.assetid: 92B8EED9-7D42-4E07-BB39-2B1478415ABF
ms.date: 05/06/2019
ms.keywords: CD3D11_RECT, CD3D11_RECT constructor [Direct3D 11], CD3D11_RECT constructor [Direct3D 11],CD3D11_RECT interface, CD3D11_RECT interface [Direct3D 11],CD3D11_RECT constructor, CD3D11_RECT.CD3D11_RECT, CD3D11_RECT.CD3D11_RECT(const D3D11_RECT &), CD3D11_RECT::CD3D11_RECT, CD3D11_RECT::CD3D11_RECT(), CD3D11_RECT::CD3D11_RECT(const D3D11_RECT &), d3d11/CD3D11_RECT::CD3D11_RECT, direct3d11.cd3d11_rect_cd3d11_rect
f1_keywords:
- d3d11/CD3D11_RECT.CD3D11_RECT
dev_langs:
- c++
req.header: d3d11.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 7 [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2008 R2 [desktop apps \| UWP apps]
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: D3D11.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D3D11.lib
- D3D11.dll
api_name:
- CD3D11_RECT.CD3D11_RECT
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# CD3D11_RECT::CD3D11_RECT(const D3D11_RECT &)

## -description

Instantiates a new instance of a <a href="https://msdn.microsoft.com/737B47A3-E609-48E4-A0B6-017206E500B1">CD3D11_RECT</a> structure that is initialized with a **D3D11_RECT** structure.

## -parameters

### -param o

Address of the **D3D11_RECT** structure that initializes the **CD3D11_RECT** structure.

## -see-also

<a href="https://msdn.microsoft.com/737B47A3-E609-48E4-A0B6-017206E500B1">CD3D11_RECT</a>
