CreationProperties function (d2d1_1helper.h)

Returns a D2D1_CREATION_PROPERTIES that describes root-level creation details.

Syntax

D2D1_CREATION_PROPERTIES CreationProperties(
  D2D1_THREADING_MODE         threadingMode,
  D2D1_DEBUG_LEVEL            debugLevel,
  D2D1_DEVICE_CONTEXT_OPTIONS options
);

Parameters

threadingMode

Type: D2D1_THREADING_MODE

The threading mode with which the corresponding root objects are created.

debugLevel

Type: D2D1_DEBUG_LEVEL

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

options

Type: D2D1_DEVICE_CONTEXT_OPTIONS

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

Return value

Type: D2D1_CREATION_PROPERTIES

The filled creation properties structure.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1helper.h
Library D2d1.lib
DLL D2d1.dll