It is recommended that miniport drivers set certain hardware information in the registry to display useful information to the user and for assistance in debugging. A miniport driver can set a chip type, DAC type, memory size (of the adapter), and a string to identify the adapter. This information is displayed by the control panel display applet.
The driver sets this information by calling VideoPortSetRegistryParameters. The following table outlines for the two variable parameters to VideoPortSetRegistryParameters and what data should be passed.
Information for Entry |
ValueName |
ValueData |
Chip type |
HardwareInformation.ChipType |
Null terminated string containing the chip name. |
DAC type |
HardwareInformation.DacType |
Null terminated string containing the DAC name or ID. |
Memory size |
HardwareInformation.MemorySize |
ULONG containing, in MB, the amount of video memory on the adapter. |
ID String |
HardwareInformation.AdapterString |
Null-terminated string containing the name of the adapter. |