Skip to main content
D2D1_CREATION_PROPERTIES structure

Specifies the options with which the Direct2D device, factory, and device context are created.

Syntax


typedef struct D2D1_CREATION_PROPERTIES {
  D2D1_THREADING_MODE         threadingMode;
  D2D1_DEBUG_LEVEL            debugLevel;
  D2D1_DEVICE_CONTEXT_OPTIONS options;
} D2D1_CREATION_PROPERTIES, *PD2D1_CREATION_PROPERTIES;

Members

threadingMode

The threading mode with which the corresponding root objects will be created.

debugLevel

The debug level that the root objects should be created with.

options

The device context options that the root objects should be created with.

Remarks

The root objects referred to here are the Direct2D device, Direct2D factory and the Direct2D device context.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2D1_1.h

Type library

D2D1.lib

See also

D2D1CreateDevice
D2D1CreateDeviceContext