// iddcx.h
HRESULT IddCxSwapChainReleaseAndAcquireBuffer(
IDDCX_SWAPCHAIN SwapChainObject,
IDARG_OUT_RELEASEANDACQUIREBUFFER *pOutArgs
);
View the official Windows Driver Kit DDI referenceNo description available.
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.
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.
IddCxSwapChainReleaseAndAcquireBuffer returns S_OK on success; otherwise it returns an appropriate error code.
IDARG_OUT_RELEASEANDACQUIREBUFFER
IddCxSwapChainReleaseAndAcquireBuffer2