IddCxSwapChainReleaseAndAcquireBuffer - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// iddcx.h

HRESULT IddCxSwapChainReleaseAndAcquireBuffer(
  IDDCX_SWAPCHAIN                   SwapChainObject,
  IDARG_OUT_RELEASEANDACQUIREBUFFER *pOutArgs
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-iddcx-iddcxswapchainreleaseandacquirebuffer)

IddCxSwapChainReleaseAndAcquireBuffer function

Description

An indirect display driver calls IddCxSwapChainReleaseAndAcquireBuffer to release the current buffer in the swap chain and acquire a new one. IDDs that report FP16 support must call IddCxSwapChainReleaseAndAcquireBuffer2 instead.

Parameters

SwapChainObject

[in] The swap-chain object previously passed by the OS to the driver in a EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN call.

pOutArgs

[out] Pointer to an IDARG_OUT_RELEASEANDACQUIREBUFFER structure in which the output arguments of the function are returned.

Return value

IddCxSwapChainReleaseAndAcquireBuffer returns S_OK on success; otherwise it returns an appropriate error code.

See also

IDARG_OUT_RELEASEANDACQUIREBUFFER

IddCxSwapChainReleaseAndAcquireBuffer2