Example Modem INF File That Supports VoiceView

A fully-function modem INF file that supports VoiceView is included in the MDK; it is named SMPVV.INF. A partial listing of that INF file is shown in the following. The INF sections shown in the listing are the INF file header, [Manufacturer] section, the Install-type section for one modem, along with the INF sections that support VoiceView.

; SMPVV.INF
;
; This is the INF file for modems supported using generic 
; VoiceView command set information.
;
; Copyright 1995, Microsoft Corporation
 
[Version]
LayoutFile=layout.inf
Signature="$CHICAGO$"
Class=Modem
;new requirement for modem class of devices
ClassGUID={4D36E96D-E325-11CE-BFC1-08002BE10318}
Provider=%MS%
 
 [Manufacturer]
%VoiceView% = VoiceView
 
[DestinationDirs]
Register.Copy    = 17     ;LDID_INF
VV_Sys           = 11           
VV_Sock_Sys      = 11     ;LDID_SYS \Windows\system dir
VV_App           = 10
VV_Help          = 18     ;LDID_HELP
 
[VoiceView]
%VVGen96%  = VVGen96,  MDMVVGEN96
%PNPC110% = PNPC110, *PNPC110
 
[VVGen96]       
AddReg      = All, GenericAddReg, Gen96Reg, EXTERNAL, VoiceView_Modem, VoiceView_Socket
CopyFiles   = VV_Sys, VV_Sock_Sys, VV_App, VV_Help
UpdateInis  = VView.Inis
Uninstall   = VoiceView_remove
 
[PNPC110]
AddReg      = All, GenericAddReg, Gen96Reg, EXTERNAL, VoiceView_Modem, VoiceView_Socket
CopyFiles   = VV_Sys, VV_Sock_Sys, VV_App, VV_Help
UpdateInis  = VView.Inis
Uninstall   = VoiceView_remove
 
[VoiceView_remove]
UpdateInis  = VView.Rem.Inis
 
[VV_Sys]
fte.dll
vvexe32.exe
wsvv.vxd
 
[VV_Sock_Sys]
wsock32.dll
wsock.vxd
vtdi.386
 
[VV_App]
filexfer.exe
 
[VV_Help]
filexfer.hlp
filexfer.cnt
 
[VView.Inis]
setup.ini, progman.groups,, "group4="%APPS_DESC%""              ;creates folder
setup.ini, group4,, """%FileXfer_DESC%"", filexfer.exe"         ;creates link
setup.ini, progman.groups,, "SendTo=""..\..\%SendTo_DESC%"""    ;creates folder
setup.ini, SendTo,,"""%SendToPhone_DESC%"", filexfer.exe"       ;create Link to EXE
setup.ini, progman.groups,, "group1=""%StartUp_DESC%"""         ;creates folder
setup.ini, group1,, """%StartXfer_DESC%"", filexfer.exe /a"     ;creates link
 
[VView.Rem.Inis]
setup.ini, progman.groups,, "group4=""%APPS_DESC%"""            ;creates folder
setup.ini, group4,, """%FileXfer_DESC%"""                       ;deletes link
setup.ini, progman.groups,, "SendTo=""..\..\%SendTo_DESC%"""    ;creates folder
setup.ini, SendTo,,"""%SendToPhone_DESC%"""                     ;deletes link
setup.ini, progman.groups,, "group1=""%StartUp_DESC%"""         ;creates folder
setup.ini, group1,, """%StartXfer_DESC%"""                      ;deletes link
 
[VoiceView_Socket]
HKLM, System\CurrentControlSet\Services\VxD\Winsock, "VoiceView Winsock Provider",, "wsvv.vxd"
 
[VoiceView_Modem]
HKR,, RunOnce,,"grpconv /o"
HKR,, VoiceView, 1, 01
HKR, MonitorVoiceViewOn,   1,, "AT+FCLASS=80cr"
HKR, MonitorVoiceViewOn,   2,, "None"
HKR, MonitorVoiceViewOff,  1,, "AT+FCLASS=0cr"
HKR, MonitorVoiceViewOff,  2,, "None"
 
HKR, Responses, "-SSV",          1, 09, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "-SMD",          1, 09, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "-SFA",          1, 09, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "-SRA",          1, 09, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "-SRQ",          1, 09, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "-SRC:",         1, 09, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "-STO",          1, 09, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "-SVM",          1, 09, 00, 00,00,00,00, 00,00,00,00
 
[All]
HKR,,FriendlyDriver,,Unimodem.vxd
HKR,,DevLoader,,*VCOMM
HKR,,ConfigDialog,,modemui.dll
HKR,,PortSubClass,1,02
HKR,,EnumPropPages,,"modemui.dll,EnumPropPages"
 
[EXTERNAL]
HKR,, DeviceType, 1, 01
 
[INTERNAL]
HKR,, DeviceType, 1, 02
 
[GenericAddReg]
HKR, Init, 1,, "ATcr"
HKR, Init, 2,, "ATE0V1cr"
HKR, Monitor, 1,, "ATS0=0cr"
HKR, Monitor, 2,, "None"
HKR, Answer, 1,, "ATAcr"
HKR, Hangup, 1,, "ATHcr"
HKR,, Reset,, "ATZcr"
HKR, Settings, Prefix,, "AT"
HKR, Settings, Terminator,, "cr"
HKR, Settings, DialPrefix,, "D"
HKR, Settings, Pulse,, "P"
HKR, Settings, Tone,, "T"
 
; DTE/DCE speeds will not be exact for generic modems because we will
; treat CONNECT ### as a DCE speed when some modems will report it as DTE.
HKR, Responses, "cr",        1, 01, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "lf",        1, 01, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "OK",          1, 00, 00, 00,00,00,00, 00,00,00,00
  .
  .
  .
HKR, Responses, "AUTOSTREAM: LEVEL 3", 1, 01, 00, 00,00,00,00, 00,00,00,00
 
[Gen96Reg]
HKR,, Properties, 1, 80,01,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,01,00,00, 00,96,00,00, 80,25,00,00
HKR,, DCB, 1, 1C,00,00,00, 80,25,00,00, 15,20,00,00, 00,00, 0a,00, 0a,00, 08, 00, 00, 11, 13, 00, 00, 00
 
[GenAnyReg]
HKR,, Properties, 1, 80,01,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,01,00,00, 00,c2,01,00, 00,c2,01,00
HKR,, DCB, 1, 1C,00,00,00, 80,25,00,00, 15,20,00,00, 00,00, 0a,00, 0a,00, 08, 00, 00, 11, 13, 00, 00, 00
 
[Strings]
MS ="Microsoft"
VoiceView = "(VoiceView Modem Types)"
VVGen96  = "VoiceView  9600 bps Modem"
PNPC110 = "VoiceView 9600 bps Modem"
APPS_DESC        = "Accessories"     ; Name of Accessories menu
StartUp_DESC     = "StartUp"
SendTo_DESC      = "SendTo"          ; Name of SendTo folder in the Windows dir
FileXfer_DESC    = "File Transfer"   ; Name of file tranfer app in Accessories menu
SendToPhone_DESC = "Person On Phone" ; Name for file transfer app in SendTo menu
StartXfer_DESC   = "VoiceView Auto Detection"   ; Name for auto start feature