// dispmprt.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_GENERIC_DESCRIPTOR structure contains descriptive information about a child device of the display adapter.
HardwareIdA single wide-character string, terminated by two wide NULL characters, that holds the hardware ID of the child device.
InstanceIdA single wide-character string, terminated by two wide NULL characters, that holds the instance ID of the child device.
CompatibleIdA 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.
DeviceTextA single wide-character string, terminated by two wide NULL characters, that holds the device text of the child device.
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.