// iddcx.h
HRESULT IddCxSwapChainReleaseAndAcquireSystemBuffer(
[in] IDDCX_SWAPCHAIN SwapChainObject,
[out] IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER *pOutArgs
);
View the official Windows Driver Kit DDI referenceNo description available.
IddCxSwapChainReleaseAndAcquireSystemBuffer releases and acquires buffers from the swapchain.
SwapChainObject [in]The IDDCX_SWAPCHAIN object used for querying the physical address of the currently acquired surface.
pOutArgs [out]Pointer to a IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER structure in which the resulting information from the release and acquire operation is returned.
IddCxSwapChainReleaseAndAcquireSystemBuffer returns S_OK on success; otherwise it returns an appropriate error code.
In addition to releasing and acquiring buffers from the swapchain, IddCxSwapChainReleaseAndAcquireSystemBuffer also unmaps and unlocks the buffer being released while mapping and locking the buffer being acquired. For this reason, it is not valid to call IddCxSwapChainReleaseAndAcquireBuffer subsequent to calling this method. The IDDCX_SYSTEM_BUFFER_INFO structure pointed to by pBufferInfo is filled with valid information only on a successful release and acquire as indicated by a return value of S_OK.
IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER
IddCxSwapChainReleaseAndAcquireBuffer