The depth-stencil-state interface holds a description for depth-stencil state that you can bind to the output-merger stage.
interface ID3D11DepthStencilState : public ID3D11DeviceChild
To create a depth-stencil-state object, call ID3D11Device::CreateDepthStencilState. To bind the depth-stencil-state object to the output-merger stage, call ID3D11DeviceContext::OMSetDepthStencilState.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).