Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |