D3DKMDT_STANDARDALLOCATION_TYPE enumeration (d3dkmdt.h)

The D3DKMDT_STANDARDALLOCATION_TYPE enumeration type contains values that identify particular types of surfaces.

Syntax

typedef enum _D3DKMDT_STANDARDALLOCATION_TYPE {
  D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACE = 1,
  D3DKMDT_STANDARDALLOCATION_SHADOWSURFACE = 2,
  D3DKMDT_STANDARDALLOCATION_STAGINGSURFACE = 3,
  D3DKMDT_STANDARDALLOCATION_GDISURFACE = 4,
  D3DKMDT_STANDARDALLOCATION_VGPU = 5
} D3DKMDT_STANDARDALLOCATION_TYPE;

Constants

 
D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACE
Value: 1
Indicates that the surface is a shared primary surface, which is opened by multiple applications that all require direct central processing unit (CPU) access to it.
D3DKMDT_STANDARDALLOCATION_SHADOWSURFACE
Value: 2
Indicates that the surface is a shadow surface.
D3DKMDT_STANDARDALLOCATION_STAGINGSURFACE
Value: 3
Indicates that the surface is a staging surface.
D3DKMDT_STANDARDALLOCATION_GDISURFACE
Value: 4
Indicates that the surface is used for GDI hardware acceleration and Desktop Windows Manager (DWM) redirection.

This constant value is available beginning with Windows 7.
D3DKMDT_STANDARDALLOCATION_VGPU
Value: 5
Indicates that the surface is an allocation for a virtual graphics processing unit (GPU). Available starting in WDDM 2.1.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmdt.h

See also

D3DKMDT_SHADOWSURFACEDATA

D3DKMDT_SHAREDPRIMARYSURFACEDATA

D3DKMDT_STAGINGSURFACEDATA

DXGKARG_CREATEALLOCATION

DxgkDdiCreateAllocation