Bewerken

Delen via


D3DDDIARG_CHECKDIRECTFLIPSUPPORT structure (d3dumddi.h)

Specifies resources used for Direct Flip operations, in which video memory is seamlessly flipped between an application's managed primary allocations and the Desktop Window Manager's (DWM) managed primary allocations. This structure is pointed to by the pData parameter of the CheckDirectFlipSupport function.

Syntax

typedef struct _D3DDDIARG_CHECKDIRECTFLIPSUPPORT {
  [in]  HANDLE hAppSwapchainResource;
  [in]  HANDLE hDWMSwapchainResource;
  [in]  UINT   CheckDirectFlipFlags;
  [out] BOOL   Supported;
} D3DDDIARG_CHECKDIRECTFLIPSUPPORT;

Members

[in] hAppSwapchainResource

A resource in the application's swapchain.

[in] hDWMSwapchainResource

A resource in the DWM's swapchain.

[in] CheckDirectFlipFlags

If this member has a value of D3DDDI_CHECKDIRECTFLIP_IMMEDIATE, seamless flipping should occur immediately and does not have to be synchronized with a VSync interrupt.

[out] Supported

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.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dumddi.h (include D3d10umddi.h)

See also

CheckDirectFlipSupport