// d3d10umddi.h
PFND3D11_1DDI_CHECKDIRECTFLIPSUPPORT Pfnd3d111DdiCheckdirectflipsupport;
VOID Pfnd3d111DdiCheckdirectflipsupport(
D3D10DDI_HDEVICE unnamedParam1,
D3D10DDI_HRESOURCE unnamedParam2,
D3D10DDI_HRESOURCE unnamedParam3,
UINT CheckDirectFlipFlags,
[out] BOOL *pSupported
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Called by the Desktop Window Manager (DWM) to verify that the user-mode driver supports Direct Flip operations, in which video memory is seamlessly flipped between an application's managed primary allocations and the DWM's managed primary allocations.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
unnamedParam2hResource1
A resource in the application's swapchain.
unnamedParam3hResource2
A resource in the DWM's swapchain.
CheckDirectFlipFlagsIf this parameter has a value of D3D11_1DDI_CHECK_DIRECT_FLIP_IMMEDIATE, seamless flipping should occur immediately and does not have to be synchronized with a VSync interrupt.
pSupported [out]Set to TRUE if the driver can seamlessly flip video memory between an application's managed primary allocations and the DWM's managed primary allocations. Otherwise, set to FALSE.
This function is called at least once before the DWM attempts to present to a Direct Flip swapchain. It is also called after each mode change occurs, or after the DWM re-creates its own swapchain for any reason.
The user-mode driver should ensure that the managed primary allocations of the application and the DWM have the following compatible resources:
The user-mode driver might need to call the kernel-mode driver to perform these validations. To do this, call the pfnEscapeCb callback function and then call the DxgkCbGetHandleData function to access the kernel-mode driver's resource allocation data.
D3D11_1_DDI_CHECK_DIRECT_FLIP_FLAGS