PFN_IDDCXSWAPCHAINGETPHYSICALLYCONTIGUOUSADDRESS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

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

Description

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.

Parameters

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.

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.

See also

IddCxSwapChainGetPhysicallyContiguousAddress