Creating Graphics INF Files
NT-based operating system display and video miniport drivers must be installed using an INF file. The Driver Development Kit (DDK) provides a tool called geninf.exe that lets you generate an INF file for your display and video miniport drivers.
When geninf.exe is run, it displays a number of dialogs that prompt you for information, such as the company name and the names of the display drivers and video miniport driver. Geninf.exe then generates an INF file from this information.
If your miniport driver maps more than 8 MB of device memory, you should manually edit the INF file to include the section and appropriate entries described in INF GeneralConfigData Section.
When you run geninf.exe, select "Display" when prompted to choose the device class. An INF file marked as Class=Display will be interpreted by the system-supplied display class installer during driver installation. This ensures that all registry entries associated with a video driver are properly initialized.
An INF file of the class Display can install only the following files on the system:
A single miniport driver
A single display driver
Control panel extension DLLs
No other types of driver or application files can be installed from an INF file of class Display.
You cannot use geninf.exe to generate:
An INF file that supports more than one architecture.
An INF file that supports Windows 95/98/Me or Windows NT version 4.0 or previous.
A monitor INF file. Use the INF named monsamp.inf as a template. See Monitor INF File Sections for more details.
These sample INF files are both shipped with the Windows Driver Kit (WDK).