// iddcx.h
PFN_IDDCXSWAPCHAINSETDEVICE PfnIddcxswapchainsetdevice;
HRESULT * PfnIddcxswapchainsetdevice(
[in] PIDD_DRIVER_GLOBALS DriverGlobals,
[in] IDDCX_SWAPCHAIN SwapChainObject,
[in] const IDARG_IN_SWAPCHAINSETDEVICE *pInArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
PFN_IDDCXSWAPCHAINSETDEVICE is a pointer to an OS callback function that sets up the swap-chain with a particular DXGI device.
DriverGlobals [in]Contains system-defined per-driver data.
SwapChainObject [in]The swap-chain object passed to the EVT_IDD_CX_MONITOR_SET_SWAPCHAIN call.
pInArgs [in]Input arguments to the function.
If the routine succeeds it returns S_OK. Otherwise, it returns an appropriate error code.
An indirect display driver (IDD) should not use this pointer to directly call the function that it points to. IDDs should instead callIddCxSwapChainSetDevice.