---
UID: NF:d3d10.ID3D10DepthStencilState.GetDesc
title: ID3D10DepthStencilState::GetDesc (d3d10.h)
description: Get the depth-stencil state.
old-location: direct3d10\id3d10depthstencilstate_getdesc.htm
tech.root: direct3d10
ms.assetid: VS|directx_sdk|~\id3d10depthstencilstate_getdesc.htm
ms.date: 12/05/2018
ms.keywords: GetDesc, GetDesc method [Direct3D 10], GetDesc method [Direct3D 10],ID3D10DepthStencilState interface, ID3D10DepthStencilState interface [Direct3D 10],GetDesc method, ID3D10DepthStencilState.GetDesc, ID3D10DepthStencilState::GetDesc, b619fad1-5159-b9ea-3203-439bc2625a45, d3d10/ID3D10DepthStencilState::GetDesc, direct3d10.id3d10depthstencilstate_getdesc
f1_keywords:
- d3d10/ID3D10DepthStencilState.GetDesc
dev_langs:
- c++
req.header: d3d10.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: D3D10.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D3D10.lib
- D3D10.dll
api_name:
- ID3D10DepthStencilState.GetDesc
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID3D10DepthStencilState::GetDesc


## -description


Get the depth-stencil state.


## -parameters




### -param pDesc [out]

Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/d3d10/ns-d3d10-d3d10_depth_stencil_desc">D3D10_DEPTH_STENCIL_DESC</a>*</b>

A pointer to the depth-stencil state (see <a href="https://docs.microsoft.com/windows/desktop/api/d3d10/ns-d3d10-d3d10_depth_stencil_desc">D3D10_DEPTH_STENCIL_DESC</a>).


## -returns



Returns nothing.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d3d10/nn-d3d10-id3d10depthstencilstate">ID3D10DepthStencilState Interface</a>
 

 

