PFN_IDDCXSWAPCHAININSYSTEMMEMORY callback function (iddcx.h)
PFN_IDDCXSWAPCHAININSYSTEMMEMORY is a pointer to an OS callback function through which to determine whether swapchain buffers are allocated in system memory.
Syntax
PFN_IDDCXSWAPCHAININSYSTEMMEMORY PfnIddcxswapchaininsystemmemory;
HRESULT * PfnIddcxswapchaininsystemmemory(
[in] PIDD_DRIVER_GLOBALS DriverGlobals,
[in] IDDCX_SWAPCHAIN SwapChainObject,
[out] BOOL *pInSystemMemory
)
{...}
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] pInSystemMemory
Output arguments of the functions.
Return value
PFN_IDDCXSWAPCHAININSYSTEMMEMORY 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 IddCxSwapChainInSystemMemory.
Requirements
Requirement | Value |
---|---|
Minimum supported server | Windows Server 2022 |
Header | iddcx.h |