D3DDDI_TESTCOMMANDBUFFEROP enumeration (d3dukmdt.h)

A D3DDDI_TESTCOMMANDBUFFEROP enumeration specifies the type of operation for a test command buffer.

Syntax

typedef enum _D3DDDI_TESTCOMMANDBUFFEROP {
  D3DDDI_TESTCOMMANDBUFFEROP_INVALID = 0,
  D3DDDI_TESTCOMMANDBUFFEROP_COPY = 1,
  D3DDDI_TESTCOMMANDBUFFEROP_FILL = 2,
  D3DDDI_TESTCOMMANDBUFFEROP_INFINITE_LOOP = 3,
  D3DDDI_TESTCOMMANDBUFFEROP_INFINITE_PREEMPTABLE_LOOP = 4,
  D3DDDI_TESTCOMMANDBUFFEROP_MAX
} D3DDDI_TESTCOMMANDBUFFEROP;

Constants

 
D3DDDI_TESTCOMMANDBUFFEROP_INVALID
Value: 0
The operation is invalid or not specified.
D3DDDI_TESTCOMMANDBUFFEROP_COPY
Value: 1
The command buffer operation is a copy operation.
D3DDDI_TESTCOMMANDBUFFEROP_FILL
Value: 2
The command buffer operation is a fill operation.
D3DDDI_TESTCOMMANDBUFFEROP_INFINITE_LOOP
Value: 3
The command is used to simulate a hung engine. The generated infinite loop must be not preemptable.
D3DDDI_TESTCOMMANDBUFFEROP_INFINITE_PREEMPTABLE_LOOP
Value: 4
The command is used to test preemption of a long running command. The generated infinite loop must be preemptable.
D3DDDI_TESTCOMMANDBUFFEROP_MAX
Maximum value for this enumeration.

Remarks

For more information, see Kernel-mode testing.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3dukmdt.h

See also

D3DDDI_TESTCOMMANDBUFFER

pfnBuildTestCommandBuffer