// d3dkmddi.h
DXGKDDI_ENDEXCLUSIVEACCESS DxgkddiEndexclusiveaccess;
NTSTATUS DxgkddiEndexclusiveaccess(
IN_CONST_HANDLE hAdapter,
IN_PDXGKARG_ENDEXCLUSIVEACCESS pEndExclusiveAccess
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Dxgkrnl calls DxgkDdiEndExclusiveAccess to notify the kernel-mode driver that an IOMMU domain switch just completed.
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.
DxgkDdiEndExclusiveAccess should return STATUS_SUCCESS if the operation succeeds. Otherwise, it should return an appropriate NTSTATUS error code.
Dxgkrnl calls DxgkDdiBeginExclusiveAccess and DxgkDdiEndExclusiveAccess as a pair when an IOMMU domain switch needs to occur. See DxgkDdiBeginExclusiveAccess for implementation details.