D2D1_RENDER_TARGET_USAGE enumeration (d2d1.h)

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 {
  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_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_RENDER_TARGET_USAGE_NONE
Value: 0x00000000
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
Value: 0x00000001
The render target renders content locally and sends it to the terminal services client as a bitmap.
D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE
Value: 0x00000002
The render target can be used efficiently with GDI.
D2D1_RENDER_TARGET_USAGE_FORCE_DWORD
Value: 0xffffffff

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]
Header d2d1.h

See also

D2D1_RENDER_TARGET_PROPERTIES