// d3dkmddi.h
typedef struct _DXGKARG_BUILDTESTCOMMANDBUFFER {
HANDLE hContext;
D3DDDI_TESTCOMMANDBUFFER Command;
PVOID pDmaBuffer;
PVOID pDmaBufferPrivateData;
UINT DmaBufferSize;
UINT DmaBufferPrivateDataSize;
D3DDDI_BUILDTESTCOMMANDBUFFERFLAGS Flags;
} DXGKARG_BUILDTESTCOMMANDBUFFER;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARG_BUILDTESTCOMMANDBUFFER structure describes a test command buffer for DXGKDDI_BUILDTESTCOMMANDBUFFER::pfnBuildTestCommandBuffer.
hContext[in] KMD context handle returned from DxgkDdiCreateContext when Flags.HardwareQueue is 0, or KMD hardware queue handle returned from DxgkDdiCreatehwqueue when Flags.HardwareQueue is 1.
Command[in] A D3DDDI_TESTCOMMANDBUFFER structure that describes the test command for which DMA buffer needs to be generated.
pDmaBuffer[in/out] Pointer to the buffer in which KMD should write the generated commands to.
pDmaBufferPrivateData[in/out] Pointer to the buffer in which KMD can write data that is relevant to the execution of generated device instructions.
DmaBufferSize[in/out] On input, specifies the size in bytes of the buffer that pDmaBuffer points to. On output, specifies the number of bytes that KMD has written to the buffer. See DXGKDDI_BUILDTESTCOMMANDBUFFER for more information.
DmaBufferPrivateDataSize[in/out] On input, specifies the size in bytes of the buffer that pDmaBufferPrivateData points to. On output, specifies the number of bytes that KMD has written to the buffer. See DXGKDDI_BUILDTESTCOMMANDBUFFER for more information.
Flags[in] A D3DDDI_BUILDTESTCOMMANDBUFFERFLAGS structure that describes the flags for the test command buffer.
For more information, see Kernel-mode testing.
D3DDDI_BUILDTESTCOMMANDBUFFERFLAGS
DXGKDDI_BUILDTESTCOMMANDBUFFER