DXGK_SURPRISE_REMOVAL_TYPE enumeration (dispmprt.h)

Indicates the type of surprise removal event when an external display device is disconnected from the system.

Syntax

typedef enum _DXGK_SURPRISE_REMOVAL_TYPE {
  DxgkRemovalHibernation,
  DxgkRemovalPnPNotify
} DXGK_SURPRISE_REMOVAL_TYPE;

Constants

 
DxgkRemovalHibernation
The disconnected external display device was in hibernation mode.
DxgkRemovalPnPNotify
The disconnected external display device was surprise removed/unplugged while it was still running.

Remarks

See the DXGKDDI_NOTIFY_SURPRISE_REMOVAL callback for details.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header dispmprt.h (include Dispmprt.h)