Export (0) Print
Expand All

D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS enumeration

Specifies additional features supportable by a compatible render target when it is created. This enumeration allows a bitwise combination of its member values.

Syntax


typedef enum  { 
  D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE            = 0x00000000,
  D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE  = 0x00000001
} D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS;

Constants

D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE

The render target supports no additional features.

D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE

The render target supports interoperability with the Windows Graphics Device Interface (GDI).

Remarks

Use this enumeration when creating a compatible render target with the CreateCompatibleRenderTarget method. For more information about compatible render targets, see the Render Targets Overview.

The D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE option may only be requested if the parent render target was created with D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE (for most render targets) or D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE (for render targets created by the CreateCompatibleRenderTarget method).

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

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

Header

D2d1.h

See also

CreateCompatibleRenderTarget
Render Targets Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft