Bewerken

Delen via


IddCxSwapChainSetDevice function (iddcx.h)

An OS callback function the driver calls within its SetSwapChain routine to setup the swap-chain with a particular DXGI device.

Syntax

HRESULT IddCxSwapChainSetDevice(
  [in] IDDCX_SWAPCHAIN                   SwapChainObject,
  [in] const IDARG_IN_SWAPCHAINSETDEVICE *pInArgs
);

Parameters

[in] SwapChainObject

The swap-chain object that will be setup with a particular DXGI device.

[in] pInArgs

Input arguments to the function

Return value

(NTSTATUS) The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method may return an appropriate NTSTATUS error code.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header iddcx.h
Library IddCxStub.lib
DLL IddCx.dll
IRQL Must_inspect_result