// d3dhal.h
typedef struct _D3DHAL_DP2SETDEPTHSTENCIL {
DWORD hZBuffer;
} D3DHAL_DP2SETDEPTHSTENCIL;
View the official Windows Driver Kit DDI referenceNo description available.
DirectX 9.0 and later versions only.
The D3DHAL_DP2SETDEPTHSTENCIL structure is used to map a new depth buffer in the driver's current context when the D3DDP2OP_SETDEPTHSTENCIL operation code is received by D3dDrawPrimitives2.
hZBufferSpecifies a handle to the depth buffer.
The driver should store the depth buffer identified by hZBuffer in the driver's context when the runtime sends a D3DDP2OP_SETDEPTHSTENCIL operation code in the D3dDrawPrimitives2 command stream.
D3DDP2OP_SETDEPTHSTENCIL