DXGKDDI_DISPLAYMUX_REPORT_PRESENCE callback function (dispmprt.h)

Dxgkrnl calls the kernel-mode display driver's (KMD) DxgkddiDisplayMuxReportPresence function before adapter start to inform the driver that an automatic display switch (ADS) mux has been detected.

Syntax

DXGKDDI_DISPLAYMUX_REPORT_PRESENCE DxgkddiDisplaymuxReportPresence;

void DxgkddiDisplaymuxReportPresence(
  PVOID DriverContext,
  BOOLEAN SystemHasMux
)
{...}

Parameters

DriverContext

[in] Handle to a context block that is associated with a display adapter. KMD's DxgkDdiAddDevice function previously provided this handle to Dxgkrnl.

SystemHasMux

[in] Boolean value that indicates whether the system has an ADS-compatible mux.

Return value

None

Remarks

This DDI is called under synchronization level 2.

SystemHasMux is set to TRUE when an ADS mux device was detected in the system and that mux device meets the ADS requirements. A TRUE value doesn't guarantee that ADS functionality will be available to user at this point in the boot sequence for the following reasons:

  • The other GPU involved with the ADS mux might not be started yet.
  • The OS has not yet verified all the ADS requirements for this driver.

For more information, see Automatic Display Switch.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2, update 2025.01
Header dispmprt.h
IRQL PASSIVE_LEVEL