// d3dumddi.h
PFND3DDDI_SETDEPTHSTENCIL Pfnd3dddiSetdepthstencil;
HRESULT Pfnd3dddiSetdepthstencil(
HANDLE hDevice,
const D3DDDIARG_SETDEPTHSTENCIL *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The SetDepthStencil function sets the depth buffer in the driver's context.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_SETDEPTHSTENCIL structure that specifies the depth buffer.
SetDepthStencil returns S_OK or an appropriate error result if the depth buffer is not successfully set.
The user-mode display driver should store the depth buffer in the driver's context when the Microsoft Direct3D runtime calls SetDepthStencil.