DXGKARG_BUILDTESTCOMMANDBUFFER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-dxgkarg_buildtestcommandbuffer)

Description

The DXGKARG_BUILDTESTCOMMANDBUFFER structure describes a test command buffer for DXGKDDI_BUILDTESTCOMMANDBUFFER::pfnBuildTestCommandBuffer.

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.

See also

D3DDDI_BUILDTESTCOMMANDBUFFERFLAGS

D3DDDI_TESTCOMMANDBUFFER

DXGKDDI_BUILDTESTCOMMANDBUFFER