Partager via


INF GeneralConfigData Section

If your miniport driver maps more than 8 MB of device memory, include a GeneralConfigData section in your INF file.

[GeneralConfigData]

[MaximumDeviceMemoryConfiguration = n]
[MaximumNumberOfDevices = n]

The following are GeneralConfigData entries and values:

MaximumDeviceMemoryConfiguration=n
Specifies the maximum number of megabytes of device memory that the miniport driver will attempt to map into the system address space for one video device enumerated by PCI. Windows uses this value as a hint to determine how many system page table entries (PTEs) it should allocate for the mapping. For this entry to take effect, a reboot may be needed. You can determine whether a reboot is necessary by checking the status of your device in the Device Manager.

MaximumNumberOfDevices=n
Specifies how many video devices (as enumerated by PCI and driven by your miniport driver) are expected to be present in the system. If you specify this entry, you must also specify the MaximumDeviceMemoryConfiguration entry. For this entry to take effect, a reboot may be needed. You can determine whether a reboot is necessary by checking the status of your device in the Device Manager.

For information about supporting more than one monitor, see Supporting DualView (Windows 2000 Model) and Multiple-Monitor Support in the Display Driver.