DXGKDDI_CREATEHWQUEUE callback function (d3dkmddi.h)

Dxgkrnl calls DxgkDdiCreateHwQueue to have the kernel-mode display driver (KMD) perform the work to create a hardware queue.

Syntax

DXGKDDI_CREATEHWQUEUE DxgkddiCreatehwqueue;

NTSTATUS DxgkddiCreatehwqueue(
  IN_CONST_HANDLE hHwContext,
  INOUT_PDXGKARG_CREATEHWQUEUE pCreateHwQueue
)
{...}

Parameters

hHwContext

[in] The hardware context handle that the hardware queue belongs to.

pCreateHwQueue

[in/out] A pointer to a DXGKARG_CREATEHWQUEUE structure that describes the hardware queue to create.

Return value

DxgkDdiCreateHwQueue returns STATUS_SUCCESS if KMD was able to successfully create a hardware queue. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

DxgkDdiCreateHwQueue's WDDM synchronization class is Zero level.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 (WDDM 2.2)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_CREATEHWQUEUE

DxgkDestroyHwQueue