PFN_IDDCXSWAPCHAINGETPHYSICALLYCONTIGUOUSADDRESS callback function (iddcx.h)

PFN_IDDCXSWAPCHAINGETPHYSICALLYCONTIGUOUSADDRESS is a pointer to an OS callback function through which to retrieve the physical address of the specified swapchain's currently acquired surface.

Syntax

PFN_IDDCXSWAPCHAINGETPHYSICALLYCONTIGUOUSADDRESS PfnIddcxswapchaingetphysicallycontiguousaddress;

HRESULT * PfnIddcxswapchaingetphysicallycontiguousaddress(
  [in]  PIDD_DRIVER_GLOBALS DriverGlobals,
  [in]  IDDCX_SWAPCHAIN SwapChainObject,
  [out] PHYSICAL_ADDRESS *pSurfaceAddresss
)
{...}

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] pSurfaceAddresss

Output arguments. On success, pSurfaceAddress is filled with the physical address of the surface.

Return value

If the routine succeeds it return S_OK. If the surface was not allocated in physically contiguous memory this routine will return E_NOINTERFACE.

Remarks

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

Requirements

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

See also

IddCxSwapChainGetPhysicallyContiguousAddress