DXGKDDI_DISPLAYMUX_UPDATE_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dispmprt.h

DXGKDDI_DISPLAYMUX_UPDATE_STATE DxgkddiDisplaymuxUpdateState;

void DxgkddiDisplaymuxUpdateState(
  PVOID DriverContext,
  ULONG VidPnTargetId,
  BOOLEAN MuxSwitchedToTarget
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-dispmprt-dxgkddi_displaymux_update_state)

Description

Dxgkrnl calls the kernel-mode display driver's (KMD) DxgkddiDisplayMuxUpdateState function to notify the driver of the current mux state.

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.

VidPnTargetId

[in] The VidPN target that the DDI is being called for.

MuxSwitchedToTarget

[in] A Boolean value that indicates whether the mux is currently switched to connect the specified VidPnTargetId to the panel.

Remarks

This DDI is called under synchronization level 2.

Dxgkrnl calls DxgkDdiDisplayMuxUpdateState to provide the driver with the current mux state in the following cases:

DxgkDdiDisplayMuxUpdateState is called before any display-related DDIs involving the target that the mux is connected to.

For more information, see Automatic Display Switch.