D3DKMT_SUBMITCOMMANDTOHWQUEUE structure (d3dkmthk.h)

A structure that holds information to submit a command to the hardware queue.

Syntax

typedef struct _D3DKMT_SUBMITCOMMANDTOHWQUEUE {
  D3DKMT_HANDLE                         hHwQueue;
  D3DKMT_ALIGN64 UINT64                 HwQueueProgressFenceId;
  D3DKMT_ALIGN64 D3DGPU_VIRTUAL_ADDRESS CommandBuffer;
  UINT                                  CommandLength;
  UINT                                  PrivateDriverDataSize;
  void                                  D3DKMT_PTR(
    VOID               *unnamedParam1,
    pPrivateDriverData unnamedParam2
  );
  UINT                                  NumPrimaries;
  void                                  D3DKMT_PTR(
    D3DKMT_HANDLE const *unnamedParam1,
    WrittenPrimaries    unnamedParam2
  );
} D3DKMT_SUBMITCOMMANDTOHWQUEUE;

Members

hHwQueue

Context queue to submit the command to.

HwQueueProgressFenceId

Hardware queue progress fence value that will be signaled once the command is finished.

CommandBuffer

GPU VA of the command buffer to be executed on the GPU.

CommandLength

Length in bytes of the command buffer.

PrivateDriverDataSize

Size of private driver data in bytes.

void D3DKMT_PTR( VOID *unnamedParam1, pPrivateDriverData unnamedParam2)

NumPrimaries

The number of primaries written by this command buffer.

void D3DKMT_PTR( D3DKMT_HANDLE const *unnamedParam1, WrittenPrimaries unnamedParam2)

Requirements

Requirement Value
Header d3dkmthk.h