IddCxSwapChainReleaseAndAcquireBuffer function (iddcx.h)
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.
Syntax
HRESULT IddCxSwapChainReleaseAndAcquireBuffer(
IDDCX_SWAPCHAIN SwapChainObject,
IDARG_OUT_RELEASEANDACQUIREBUFFER *pOutArgs
);
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.
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for