// d3dhal.h
typedef struct _D3DHAL_DP2SETRENDERTARGET {
DWORD hRenderTarget;
DWORD hZBuffer;
} D3DHAL_DP2SETRENDERTARGET;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DHAL_DP2SETRENDERTARGET structure is used with the D3DDP2OP_SETRENDERTARGET opcode to map a new rendering target surface and depth buffer in the current context.
hRenderTargetSpecifies a handle to the rendering target.
hZBufferSpecifies a handle to the depth buffer.
The driver should carry out the following tasks in response to a D3DDP2OP_SETRENDERTARGET opcode in the D3dDrawPrimitives2 command stream:
See the p3samp sample driver that ships with the Microsoft Windows Driver Development Kit (DDK) for more implementation details.
D3DDP2OP_SETRENDERTARGET