Export (0) Print
Expand All

D2D1_RENDER_TARGET_USAGE enumeration

Describes how a render target is remoted and whether it should be GDI-compatible. This enumeration allows a bitwise combination of its member values.

Syntax


typedef enum  { 
  D2D1_RENDER_TARGET_USAGE_NONE                   = 0x00000000,
  D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING  = 0x00000001,
  D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE         = 0x00000002
} D2D1_RENDER_TARGET_USAGE;

Constants

D2D1_RENDER_TARGET_USAGE_NONE

The render target attempts to use Direct3D command-stream remoting and uses bitmap remoting if stream remoting fails. The render target is not GDI-compatible.

D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING

The render target renders content locally and sends it to the terminal services client as a bitmap.

D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE

The render target can be used efficiently with GDI.

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

D2D1_RENDER_TARGET_PROPERTIES

 

 

Community Additions

ADD
Show:
© 2014 Microsoft