DXGKDDI_DISPLAYMUX_POST_SWITCH_AWAY - NtDoc

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

DXGKDDI_DISPLAYMUX_POST_SWITCH_AWAY DxgkddiDisplaymuxPostSwitchAway;

NTSTATUS DxgkddiDisplaymuxPostSwitchAway(
  PVOID DriverContext,
  ULONG VidPnTargetId
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

Description

Dxgkrnl calls the kernel-mode display driver's (KMD) DxgkddiDisplayMuxPostSwitchAway function to notify the driver that it's no longer connected to the display.

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.

Return value

DxgkddiDisplayMuxPostSwitchAway returns STATUS_SUCCESS if it succeeds. Otherwise, it returns an appropriate error code.

Remarks

This DDI is called under synchronization level 2.

For more information, see Automatic Display Switch.

See also

DxgkddiDisplayMuxPostSwitchToPhase1

DxgkddiDisplayMuxPostSwitchToPhase2