DXGKARG_BUILDTESTCOMMANDBUFFER structure (d3dkmddi.h)
The DXGKARG_BUILDTESTCOMMANDBUFFER structure describes a test command buffer for DXGKDDI_BUILDTESTCOMMANDBUFFER::pfnBuildTestCommandBuffer.
Syntax
typedef struct _DXGKARG_BUILDTESTCOMMANDBUFFER {
HANDLE hContext;
D3DDDI_TESTCOMMANDBUFFER Command;
PVOID pDmaBuffer;
PVOID pDmaBufferPrivateData;
UINT DmaBufferSize;
UINT DmaBufferPrivateDataSize;
D3DDDI_BUILDTESTCOMMANDBUFFERFLAGS Flags;
} DXGKARG_BUILDTESTCOMMANDBUFFER;
Members
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.
Remarks
For more information, see Kernel-mode testing.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 24H2 (WDDM 3.2) |
Header | d3dkmddi.h |