PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER callback function (iddcx.h)

PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER is a pointer to an OS callback function through which to release and acquire buffers from a swapchain.

Syntax

PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER PfnIddcxswapchainreleaseandacquiresystembuffer;

HRESULT * PfnIddcxswapchainreleaseandacquiresystembuffer(
  [in]  PIDD_DRIVER_GLOBALS DriverGlobals,
  [in]  IDDCX_SWAPCHAIN SwapChainObject,
  [out] IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER *pOutArgs
)
{...}

Parameters

[in] DriverGlobals

Pointer to an IDD_DRIVER_GLOBALS structure containing system-defined per-driver data.

[in] SwapChainObject

The IDDCX_SWAPCHAIN object passed to the EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN call.

[out] pOutArgs

Output arguments of the functions.

Return value

PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER returns S_OK; otherwise it returns an appropriate error code.

Remarks

An indirect display driver (IDD) should not use this pointer to directly call the function that it points to. IDDs should instead call IddCxSwapChainReleaseAndAcquireSystemBuffer.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header iddcx.h

See also

IddCxSwapChainReleaseAndAcquireSystemBuffer