DXGKDDI_ENDEXCLUSIVEACCESS callback function (d3dkmddi.h)

Dxgkrnl calls DxgkDdiEndExclusiveAccess to notify the kernel-mode driver that an IOMMU domain switch just completed.

Syntax

DXGKDDI_ENDEXCLUSIVEACCESS DxgkddiEndexclusiveaccess;

NTSTATUS DxgkddiEndexclusiveaccess(
  IN_CONST_HANDLE hAdapter,
  IN_PDXGKARG_ENDEXCLUSIVEACCESS pEndExclusiveAccess
)
{...}

Parameters

hAdapter

[in] A handle to a context block that is associated with a display adapter.

pEndExclusiveAccess

[in] Pointer to a DXGKARG_ENDEXCLUSIVEACCESS structure that contains the input arguments for DxgkDdiEndExclusiveAccess.

Return value

DxgkDdiEndExclusiveAccess should return STATUS_SUCCESS if the operation succeeds. Otherwise, it should return an appropriate NTSTATUS error code.

Remarks

Dxgkrnl calls DxgkDdiBeginExclusiveAccess and DxgkDdiEndExclusiveAccess as a pair when an IOMMU domain switch needs to occur. See DxgkDdiBeginExclusiveAccess for implementation details.

Requirements

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

See also

DRIVER_INITIALIZATION_DATA

DXGKARG_ENDEXCLUSIVEACCESS

DxgkDdiBeginExclusiveAccess