Skip to content

Latest commit

 

History

History
84 lines (62 loc) · 3.8 KB

ns-d3dumddi-_d3dddi_createdeviceflags.md

File metadata and controls

84 lines (62 loc) · 3.8 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dumddi._D3DDDI_CREATEDEVICEFLAGS
_D3DDDI_CREATEDEVICEFLAGS (d3dumddi.h)
The D3DDDI_CREATEDEVICEFLAGS structure describes how to create a device.
display\d3dddi_createdeviceflags.htm
display
05/10/2018
D3DDDI_CREATEDEVICEFLAGS structure
D3DDDI_CREATEDEVICEFLAGS, D3DDDI_CREATEDEVICEFLAGS structure [Display Devices], D3D_other_Structs_45151acf-e91a-454b-be32-b7b7aaa619e9.xml, _D3DDDI_CREATEDEVICEFLAGS, d3dumddi/D3DDDI_CREATEDEVICEFLAGS, display.d3dddi_createdeviceflags
d3dumddi.h
D3dumddi.h, D3dkmddi.h
Windows
Available in Windows Vista and later versions of the Windows operating systems.
Windows
D3DDDI_CREATEDEVICEFLAGS
_D3DDDI_CREATEDEVICEFLAGS
d3dumddi/_D3DDDI_CREATEDEVICEFLAGS
D3DDDI_CREATEDEVICEFLAGS
d3dumddi/D3DDDI_CREATEDEVICEFLAGS
APIRef
kbSyntax
HeaderDef
d3dumddi.h
_D3DDDI_CREATEDEVICEFLAGS
D3DDDI_CREATEDEVICEFLAGS

_D3DDDI_CREATEDEVICEFLAGS structure

-description

The D3DDDI_CREATEDEVICEFLAGS structure describes how to create a device.

-struct-fields

-field AllowMultithreading

A UINT value that specifies whether the user-mode display driver can run multiple threads simultaneously when it processes calls to its functions from the Microsoft Direct3D runtime. For situations where the driver must disable multi-threading even when AllowMultithreading is set, see Supporting Multiple Processors.

Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

-field AllowFlipBatching

A UINT value that specifies whether the user-mode display driver can queue flip operation requests so the driver can process them later on another thread. This flag applies only to when a driver implements its own threading. In this situation, the driver is not required to immediately call the pfnPresentCb function when its Present function is called.

The Direct3D runtime enforces a queued present limit (currently set to 1) to ensure that frame latency stays at a reasonable level. If an application initiates a call to the driver's Present function while another present operation is queued, the current version of the runtime will flush the queued present. However, drivers should not rely on this behavior because the queued present limit might change in future versions of the runtime.

Setting this member is equivalent to setting the second bit of the 32-bit Value member (0x00000002).

-field Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 30 bits (0xFFFFFFFD) of the 32-bit Value member to zeros.

-field Value

A member in the union that is contained in D3DDDI_CREATEDEVICEFLAGS that can hold one 32-bit value that identifies how to create the device.

-see-also

CreateDevice

D3DDDIARG_CREATEDEVICE