DXGK_CREATEDEVICEFLAGS structure (d3dkmddi.h)

The DXGK_CREATEDEVICEFLAGS structure identifies how to create devices.

Syntax

typedef struct _DXGK_CREATEDEVICEFLAGS {
  union {
    struct {
      UINT SystemDevice : 1;
      UINT GdiDevice : 1;
      UINT Reserved : 29;
      UINT DXGK_DEVICE_RESERVED0 : 1;
    };
    UINT Value;
  };
} DXGK_CREATEDEVICEFLAGS;

Members

SystemDevice

A UINT value that specifies whether devices that the driver's DxgkDdiCreateDevice function creates are system devices.

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

GdiDevice

A UINT value that specifies whether the devices that the driver's DxgkDdiCreateDevice function creates are GDI-specific devices.

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

This member is available beginning with Windows 7.

Reserved

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

DXGK_DEVICE_RESERVED0

Supported beginning with Windows 8.

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the last bit (0x80000000) of the 32-bit Value member to zero.

Value

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

Requirements

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

See also

DXGKARG_CREATEDEVICE

DxgkDdiCreateDevice