DXGK_CREATEALLOCATIONFLAGS structure (d3dkmddi.h)

The DXGK_CREATEALLOCATIONFLAGS structure identifies how to create allocations.

Syntax

typedef struct _DXGK_CREATEALLOCATIONFLAGS {
  union {
    struct {
      UINT Resource : 1;
      UINT Reserved : 31;
    };
    UINT Value;
  };
} DXGK_CREATEALLOCATIONFLAGS;

Members

Resource

A UINT value that specifies whether allocations belong to a resource.

Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of the 32-bit Value member to zeros.

Value

A member in the union that DXGK_CREATEALLOCATIONFLAGS contains that can hold a 32-bit value that identifies how to create allocations.

Requirements

Requirement Value
Minimum supported client Available starting with Windows Vista.
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_CREATEALLOCATION