DXGKCB_SIGNALEVENT callback function (d3dkmddi.h)

DXGKCB_SIGNALEVENT signals an event.

Syntax

DXGKCB_SIGNALEVENT DxgkcbSignalevent;

NTSTATUS DxgkcbSignalevent(
  IN_CONST_PDXGKARGCB_SIGNALEVENT unnamedParam1
)
{...}

Parameters

unnamedParam1

[in] Pointer to a DXGKARGCB_SIGNALEVENT structure that contains arguments for this call.

Return value

DXGKCB_SIGNALEVENT returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

The driver must call DXGKCB_SIGNALEVENT with the LastUse flag during process or device cleanup.

A kernel-mode display miniport driver (KMD) on the host can call DXGKCB_SIGNALEVENT to signal an event, which is created on the guest during paravirtualization. This callback can also be used to signal events of the host processes as well.

In the case of paravirtualization, DXGKCB_SIGNALEVENT does not signal the event synchronously, so the event is not signaled when the callback returns. Otherwise, the event is signaled synchronously.

DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_SIGNALEVENT and then call DxgkCbSignalEvent via the DXGKRNL_INTERFACE.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (WDDM 2.5)
Header d3dkmddi.h (include d3dkmddi.h)
IRQL <= DISPATCH_LEVEL

See also

DXGKARGCB_SIGNALEVENT

DXGKRNL_INTERFACE