PFN_IDDCXSWAPCHAINSETDEVICE callback function (iddcx.h)

PFN_IDDCXSWAPCHAINSETDEVICE is a pointer to an OS callback function that sets up the swap-chain with a particular DXGI device.

Syntax

PFN_IDDCXSWAPCHAINSETDEVICE PfnIddcxswapchainsetdevice;

HRESULT * PfnIddcxswapchainsetdevice(
  [in] PIDD_DRIVER_GLOBALS DriverGlobals,
  [in] IDDCX_SWAPCHAIN SwapChainObject,
  [in] const IDARG_IN_SWAPCHAINSETDEVICE *pInArgs
)
{...}

Parameters

[in] DriverGlobals

Contains system-defined per-driver data.

[in] SwapChainObject

The swap-chain object passed to the EVT_IDD_CX_MONITOR_SET_SWAPCHAIN call.

[in] pInArgs

Input arguments to the function.

Return value

If the routine succeeds it returns S_OK. Otherwise, it returns an appropriate error code.

Remarks

An indirect display driver (IDD) should not use this pointer to directly call the function that it points to. IDDs should instead callIddCxSwapChainSetDevice.

Requirements

Requirement Value
Minimum supported client Windows 10
Header iddcx.h

See also

IddCxSwapChainSetDevice