// d3dkmdt.h
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_FENCESTORAGE = 6
} D3DKMDT_STANDARDALLOCATION_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMDT_STANDARDALLOCATION_TYPE enumeration contains values that identify particular types of surfaces.
D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACE:1Indicates 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:2Indicates that the surface is a shadow surface.
D3DKMDT_STANDARDALLOCATION_STAGINGSURFACE:3Indicates that the surface is a staging surface.
D3DKMDT_STANDARDALLOCATION_GDISURFACE:4Indicates 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:5Indicates that the surface is an allocation for a virtual graphics processing unit (GPU). Available starting in WDDM 2.1.
D3DKMDT_STANDARDALLOCATION_FENCESTORAGE:6Indicates that the surface is an allocation for a fence.
D3DKMDT_SHAREDPRIMARYSURFACEDATA