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,
  D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING,
  D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE,
  D2D1_RENDER_TARGET_USAGE_FORCE_DWORD
} ;

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.
D2D1_RENDER_TARGET_USAGE_FORCE_DWORD

Requirements

   
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