Modifying SmpData.inf

The Driver Development Kit (DDK) included a sample data modem file called SmpData.inf. You can create your modem INF file by modifying the SmpData.inf file.

The SmpData.inf file has the following characteristics:

  • Installs modems made by a single manufacturer.

  • Installs either a PCMCIA Data Fax or an External Data Fax Modem.

  • Uses multiple add-registry-sections, which can be easily modified to support additional modems.

Your modem INF file, however, can install any number of modems from multiple manufacturers and can contain any number of add-registry-sections.

Section Description

[Version]

Identifies which operating system the INF file supports, the class of device being installed, and the providing organization. Standard header section for all INF files. Value of %CompanyName% is defined in the INF Strings section.

[Manufacturer] and [Microsoft]

Identifies the modem manufacturer, the friendly (displayable) modem name, the DDInstall sections for each device installed by the INF file, and the IDs for each modem. [Modem1] and [Modem2] are the DDInstall sections. Text values of %Modem1% and %Modem2% are defined in the Strings section.

[Modem1]

Lists the sections of the INF file that define registry entries for the "Microsoft 56K External Data Fax Mode." Modem1 is defined in the Microsoft section.

[Modem2]

Lists the sections of the INF file that define registry entries for the "Microsoft PCMCIA Fax-Modem." Modem2 is defined in the Microsoft section.

[All]

Contains the registry entries that are common to all the modem models that can be installed by this INF file.

[EXTERNAL]

Contains the registry entries common to all external modems, such as the example "Microsoft 56K External Data Fax Modem."

[PCMCIA]

Contains the registry entries common to all PCMCIA modems, such as the example "Microsoft PCMCIA Fax-Modem."

[Modem1.AddReg]

Contains registry entries specific to the "Microsoft 56K External Data Fax Modem."

[Modem2.AddReg]

Contains registry entries specific to the "Microsoft PCMCIA Fax-Modem."

[MfgAddReg]

Contains the registry entries common to all modem models made by the manufacturer named in this INF file.

[Strings]

Defines strings that are displayed by the modem program in Control Panel and the Install New Modem wizard. Grouping all displayable strings into one section enables easy translation of the INF file for use in international markets.

 

The following topics provide detailed instructions for modifying the SmpData.inf file:

Modifying the Version Section of smpdata.inf

Modifying the Manufacturer Section

Modifying the Models Section

Using the ExcludeFromSelect Directive

Modifying the DDInstall Sections

Modifying the add-registry-sections of smpdata.inf

Modifying the Strings Section of smpdata.inf

 

 

Send comments about this topic to Microsoft