EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN callback function

EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN is called by the OS to inform the driver of a mode change for monitors on the adapter.

Syntax

EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN EvtIddCxMonitorAssignSwapchain;

NTSTATUS EvtIddCxMonitorAssignSwapchain(
  IDDCX_MONITOR MonitorObject,
  const IDARG_IN_SETSWAPCHAIN *pInArgs
)
{...}

Parameters

MonitorObject

A handle provided by the driver used by the OS to identify the monitor that has been affected by the mode change.

pInArgs

Input arguments used by EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN.

Return Value

(NTSTATUS) If the operation is successful, the callback function must return STATUS_SUCCESS, or another status value for which NT_SUCCESS(status) equals TRUE. Otherwise, an appropriate NTSTATUS error code.

Remarks

Note  

The resolution of the surfaces in the swapchain will always be the same resolution as the target mode set. The format of the surfaces will be one of the formats supported by the driver, but the format of each acquired buffer may change between the formats supported from frame to frame. The driver should check the format of each buffer acquired.

 

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header iddcx.h
IRQL requires_same