Partager via


DXGKDDI_DISPLAYMUX_POST_SWITCH_AWAY fonction de rappel (dispmprt.h)

Dxgkrnl appelle le pilote d’affichage en mode noyau (KMD) fonction DxgkddiDisplayMuxPostSwitchAway pour avertir le pilote qu’il n’est plus connecté à l’affichage.

Syntaxe

DXGKDDI_DISPLAYMUX_POST_SWITCH_AWAY DxgkddiDisplaymuxPostSwitchAway;

NTSTATUS DxgkddiDisplaymuxPostSwitchAway(
  PVOID DriverContext,
  ULONG VidPnTargetId
)
{...}

Paramètres

DriverContext

[in] Gérer vers un bloc de contexte associé à un adaptateur d’affichage. La fonction DxgkDdiAddDevice a précédemment fourni ce handle à Dxgkrnl.

VidPnTargetId

[in] Cible VidPN pour laquelle la DDI est appelée.

Valeur de retour

DxgkddiDisplayMuxPostSwitchAway retourne STATUS_SUCCESS si elle réussit. Sinon, elle retourne un code d’erreur approprié.

Remarques

Cette DDI est appelée sous niveau de synchronisation 2.

Pour plus d’informations, consultez commutateur d’affichage automatique.

Exigences

Exigence Valeur
client minimum pris en charge Windows 11, version 24H2, mise à jour 2025.01
d’en-tête dispmprt.h
IRQL PASSIVE_LEVEL

Voir aussi

DxgkddiDisplayMuxPostSwitchToPhase1

DxgkddiDisplayMuxPostSwitchToPhase2