---
UID: NF:d3d11.CD3D11_BOX.CD3D11_BOX(LONG,LONG,LONG,LONG,LONG,LONG)
title: CD3D11_BOX::CD3D11_BOX(LONG,LONG,LONG,LONG,LONG,LONG) (d3d11.h)
description: Instantiates a new instance of a CD3D11_BOX structure that is initialized with the dimensions of a box.
old-location: direct3d11\cd3d11_box_cd3d11_box_long_long_long_long_long_long_.htm
tech.root: direct3d11
ms.assetid: 506318A0-3B7F-4641-A63A-C4E80A035618
ms.date: 12/05/2018
ms.keywords: CD3D11_BOX, CD3D11_BOX constructor [Direct3D 11], CD3D11_BOX constructor [Direct3D 11],CD3D11_BOX interface, CD3D11_BOX interface [Direct3D 11],CD3D11_BOX constructor, CD3D11_BOX.CD3D11_BOX, CD3D11_BOX.CD3D11_BOX(LONG,LONG,LONG,LONG,LONG,LONG), CD3D11_BOX::CD3D11_BOX, CD3D11_BOX::CD3D11_BOX(LONG,LONG,LONG,LONG,LONG,LONG), d3d11/CD3D11_BOX::CD3D11_BOX, direct3d11.cd3d11_box_cd3d11_box_long_long_long_long_long_long_
f1_keywords:
- d3d11/CD3D11_BOX.CD3D11_BOX
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_BOX.CD3D11_BOX
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# CD3D11_BOX::CD3D11_BOX(LONG,LONG,LONG,LONG,LONG,LONG)


## -description


Instantiates a new instance of a <a href="https://docs.microsoft.com/previous-versions/windows/desktop/legacy/jj151614(v=vs.85)">CD3D11_BOX</a> structure that is initialized with the dimensions of a box.


## -parameters




### -param Left

Type: <b>LONG</b>

The x-coordinate of the left hand side  of the box.


### -param Top

Type: <b>LONG</b>

The y-coordinate of the top of the box.


### -param Front

Type: <b>LONG</b>

The z-coordinate of the front of the box.


### -param Right

Type: <b>LONG</b>

The x-coordinate of the right hand side of the box.


### -param Bottom

Type: <b>LONG</b>

The y-coordinate of the bottom of the box.


### -param Back

Type: <b>LONG</b>

The y-coordinate of the back of the box.


## -see-also




<a href="https://docs.microsoft.com/previous-versions/windows/desktop/legacy/jj151614(v=vs.85)">CD3D11_BOX</a>
 

 

