DXGKDDI_DPC_ROUTINE callback function (dispmprt.h)

The DxgkDdiDpcRoutine function is called back at IRQL DISPATCH_LEVEL after the display miniport driver calls DxgkCbQueueDpc.

Syntax

DXGKDDI_DPC_ROUTINE DxgkddiDpcRoutine;

void DxgkddiDpcRoutine(
  [in] IN_CONST_PVOID MiniportDeviceContext
)
{...}

Parameters

[in] MiniportDeviceContext

A handle to a context block that is associated with a display adapter. The display miniport driver's DxgkDdiAddDevice function previously provided this handle to the Microsoft DirectX graphics kernel subsystem.

Return value

None

Remarks

Only one deferred procedure call (DPC) can be scheduled (at a given time) for a given display adapter.

If the display miniport driver is supporting several display adapters, the DxgkDdiDpcRoutine might be called in a reentrant fashion. That is, while DxgkDdiDpcRoutine is executing on one processor on behalf of a particular display adapter, it could be called again on another processor on behalf of a different display adapter.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header dispmprt.h
IRQL DISPATCH_LEVEL

See also

DxgkDdiInterruptRoutine