PFN_IDDCXSWAPCHAINRELEASEANDACQUIREBUFFER2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// iddcx.h

PFN_IDDCXSWAPCHAINRELEASEANDACQUIREBUFFER2 PfnIddcxswapchainreleaseandacquirebuffer2;

HRESULT * PfnIddcxswapchainreleaseandacquirebuffer2(
  PIDD_DRIVER_GLOBALS DriverGlobals,
  IDDCX_SWAPCHAIN SwapChainObject,
  IDARG_IN_RELEASEANDACQUIREBUFFER2 *pInArgs,
  IDARG_OUT_RELEASEANDACQUIREBUFFER2 *pOutArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-iddcx-pfn_iddcxswapchainreleaseandacquirebuffer2)

Description

PFN_IDDCXSWAPCHAINRELEASEANDACQUIREBUFFER2 is a pointer to an OS callback function that releases the buffer from the swap chain and acquires a new buffer.

Parameters

DriverGlobals

[in] Contains system-defined per-driver data.

SwapChainObject

[in] The swap chain object that the buffer is associated with.

pInArgs

[in] Input arguments for the function.

pOutArgs

[out] Output arguments for the function.

Return value

PFN_IDDCXSWAPCHAINRELEASEANDACQUIREBUFFER2 returns an NTSTATUS value that indicates the success or failure of the function.

Remarks

An indirect display driver (IDD) shouldn't use this function pointer to directly. IDDs should instead call IddCxSwapChainReleaseAndAcquireBuffer2.

See also

IddCxSwapChainReleaseAndAcquireBuffer2