// dispmprt.h
DXGKDDI_DISPLAYMUX_UPDATE_STATE DxgkddiDisplaymuxUpdateState;
void DxgkddiDisplaymuxUpdateState(
PVOID DriverContext,
ULONG VidPnTargetId,
BOOLEAN MuxSwitchedToTarget
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Dxgkrnl calls the kernel-mode display driver's (KMD) DxgkddiDisplayMuxUpdateState function to notify the driver of the current mux state.
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.
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.