// iddcx.h
PFN_IDDCXSWAPCHAINGETPHYSICALLYCONTIGUOUSADDRESS PfnIddcxswapchaingetphysicallycontiguousaddress;
HRESULT * PfnIddcxswapchaingetphysicallycontiguousaddress(
[in] PIDD_DRIVER_GLOBALS DriverGlobals,
[in] IDDCX_SWAPCHAIN SwapChainObject,
[out] PHYSICAL_ADDRESS *pSurfaceAddresss
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
DriverGlobals [in]Pointer to an IDD_DRIVER_GLOBALS structure containing system-defined per-driver data.
SwapChainObject [in]The IDDCX_SWAPCHAIN object passed to the EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN call.
pSurfaceAddresss [out]Output arguments. On success, pSurfaceAddress is filled with the physical address of the surface.
If the routine succeeds it return S_OK. If the surface was not allocated in physically contiguous memory this routine will return E_NOINTERFACE.
An indirect display driver (IDD) should not use this pointer to directly call the function that it points to. IDDs should instead call IddCxSwapChainGetPhysicallyContiguousAddress.
IddCxSwapChainGetPhysicallyContiguousAddress