Bewerken

Delen via


DXGK_GENERIC_DESCRIPTOR structure (dispmprt.h)

The DXGK_GENERIC_DESCRIPTOR structure contains descriptive information about a child device of the display adapter.

Syntax

typedef struct _DXGK_GENERIC_DESCRIPTOR {
  WCHAR HardwareId[DXGK_MAX_REG_SZ_LEN];
  WCHAR InstanceId[DXGK_MAX_REG_SZ_LEN];
  WCHAR CompatibleId[DXGK_MAX_REG_SZ_LEN];
  WCHAR DeviceText[DXGK_MAX_REG_SZ_LEN];
} DXGK_GENERIC_DESCRIPTOR, *PDXGK_GENERIC_DESCRIPTOR;

Members

HardwareId[DXGK_MAX_REG_SZ_LEN]

A single wide-character string, terminated by two wide NULL characters, that holds the hardware ID of the child device.

InstanceId[DXGK_MAX_REG_SZ_LEN]

A single wide-character string, terminated by two wide NULL characters, that holds the instance ID of the child device.

CompatibleId[DXGK_MAX_REG_SZ_LEN]

A sequence of wide-character strings, each of which is terminated by a single wide NULL character. The last string in the sequence is terminated by two wide NULL characters.

DeviceText[DXGK_MAX_REG_SZ_LEN]

A single wide-character string, terminated by two wide NULL characters, that holds the device text of the child device.

Remarks

The display adapter has two types of child devices: TypeVideoOutput and TypeOther. For child devices of type TypeOther, the display port driver passes a DXGK_GENERIC_DESCRIPTOR structure to the display miniport driver's DxgkDdiQueryDeviceDescriptor function. DxgkDdiQueryDeviceDescriptor must fill in the members of the structure.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header dispmprt.h (include Dispmprt.h)

See also

DXGK_DEVICE_DESCRIPTOR