[Version] LayoutFile = layout.inf Signature = "$Windows NT$" Class = Infrared ClassGUID = {6bdd1fc5-810f-11d0-BEC7-08002BE2092F} Provider = %SunSquare% ; The following ClassInstall32 section is run by syssetup during ; GUI mode and is independent of the devices listed in this inf file ; Rather than introduce a new inf file for the classinstall32, we placed ; the section in this existing inf. ; ; IF THIS FILE IS REMOVED, THE CLASS INSTALLER WILL NO LONGER ; BE CALLED BY THE SYSTEM. if the file must be removed, the section needs ; to be relocated and Setup notified of the change [ClassInstall32.NT] AddReg = IrDAClass.NT.AddReg [IrDAClass.NT.AddReg] HKR, , , 0, %DisplayClassName% HKR, , EnumPropPages32, 0, "NetCfgx.dll,NetPropPageProvider" HKR, , Icon, 0, "1401" HKR, , Installer32, 0, "NetCfgx.dll,NetClassInstaller" [Manufacturer] %MR720Manuf%=MR720_Devices [ControlFlags] ExcludeFromSelect=*PNP0510,*PNP0511,*IBM0002,*IBM0034,*IBM0020 [DestinationDirs] ; ; Specify destination directories for groups of files. ; '12' indicates the Windows System32\drivers directory. ; DefaultDestDir=12 MR720_CopyFiles=12 [MR720_Devices] ; DisplayName Section DeviceID ; ----------- ------- -------- %MR720.DevDesc% = MR720, SIRMR720 ;%MR720T.DevDesc% = MR720T, SIRMR720T [MR720.NT] DelReg = DelAdvancedTab.reg AddReg = IRSIR.reg, MR720.reg, Port.reg PromptForPort = 1 ; This is handled by IRCLASS.DLL BusType = 1 Characteristics = 0x4 ; NCF_PHYSICAL [MR720.NT.Services] AddService= irsir, 2, IRSIR.AddService, common.EventLog [MR720.NT.CoInstallers] AddReg = IRSIR.CoInstallers.reg [MR720T.NT] DelReg = DelAdvancedTab.reg AddReg = IRSIR720T.reg, MR720T.reg, Port.reg PromptForPort = 1 ; This is handled by IRCLASS.DLL BusType = 1 Characteristics = 0x4 ; NCF_PHYSICAL CopyFiles=MR720_CopyFiles [MR720T.NT.Services] AddService= MR720T, 2, MR720T.AddService, common.EventLog [MR720T.NT.CoInstallers] AddReg = IRSIR.CoInstallers.reg [Serial.reg] HKR, , SerialBased,0, "0" [IRSIR720T.reg] HKR, Ndi, HelpText, 0, %IRSIR.Help% HKR, Ndi, Service, 0, "MR720T" HKR, Ndi\Interfaces, UpperRange, 0, "ndisirda" HKR, Ndi\Interfaces, LowerRange, 0, "nolower" HKR, Ndi, RequiredAll, 0, "MS_IrDA" HKR, , EnumPropPages32, , "IRCLASS.dll,IrSIRPortPropPageProvider" [IRSIR.reg] HKR, Ndi, HelpText, 0, %IRSIR.Help% HKR, Ndi, Service, 0, "IRSIR" HKR, Ndi\Interfaces, UpperRange, 0, "ndisirda" HKR, Ndi\Interfaces, LowerRange, 0, "nolower" HKR, Ndi, RequiredAll, 0, "MS_IrDA" HKR, , EnumPropPages32, , "IRCLASS.dll,IrSIRPortPropPageProvider" [NO_DRV.reg] HKR, Ndi\Interfaces, UpperRange, 0, "noupper" HKR, Ndi\Interfaces, LowerRange, 0, "nolower" [SerialIoWhack.reg] HKR,,SerialIoResourcesIndex,0x10001,1 [Port.reg] HKR, , SerialBased,0, "1" [MR720.reg] HKR,,InfraredTransceiverType,0,"3" HKR,,MaxConnectList,0x00010000,"115200" HKR,,MaxConnectList,0x00010008,"57600" HKR,,MaxConnectList,0x00010008,"38400" HKR,,MaxConnectList,0x00010008,"19200" HKR,,MaxConnectList,0x00010008,"9600" [MR720T.reg] HKR,,InfraredTransceiverType,0,"7" HKR,,MaxConnectList,0x00010000,"115200" HKR,,MaxConnectList,0x00010008,"57600" HKR,,MaxConnectList,0x00010008,"38400" HKR,,MaxConnectList,0x00010008,"19200" HKR,,MaxConnectList,0x00010008,"9600" [DelAdvancedTab.reg] HKR,Ndi\params [IRSIR.CoInstallers.reg] HKR,,CoInstallers32,0x00010000,"IRCLASS.dll,IrSIRClassCoInstaller" [MR720T.AddService] DisplayName = %IRSIR720T.DevDesc% ServiceType = 1 ;%SERVICE_KERNEL_DRIVER% StartType = 3 ;%SERVICE_DEMAND_START% ErrorControl = 1 ;%SERVICE_ERROR_NORMAL% ServiceBinary = %12%\irsir720.sys LoadOrderGroup = NDIS [IRSIR.AddService] DisplayName = %IRSIR.DevDesc% ServiceType = 1 ;%SERVICE_KERNEL_DRIVER% StartType = 3 ;%SERVICE_DEMAND_START% ErrorControl = 1 ;%SERVICE_ERROR_NORMAL% ServiceBinary = %12%\irsir.sys LoadOrderGroup = NDIS ;************************************************************************** ; Do-nothing section used to avoid "Unknown hardware" installation prompts. [NO_DRV.NT] Characteristics = 0x11 ; NCF_VIRTUAL|NCF_NO_SERVICE AddReg=NO_DRV.reg [NO_DRV.NT.Services] AddService = , 2,, ; null service install [common.EventLog] AddReg = common.AddEventLog.reg [common.AddEventLog.reg] HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" HKR, , TypesSupported, 0x00010001, 7 [SourceDisksNames] 1="MR720 Infrared Driver for Windows 2000",,1 [MR720_CopyFiles] ; ; This section lists the source and destination names of files that need ; to be copied to the user's drive. The destination directory is given ; in the [DestinationDirs] section above. ; Irsir720.sys,,,2 [SourceDisksFiles] Irsir720.sys=1 [Strings] SunSquare = "SunSquare" MR720Manuf = "( MarsII Infrared Device )" IRSIR.DevDesc = "MR720 Serial Infrared Driver" IRSIR720T.DevDesc = "MR720T Serial Infrared Driver" DisplayClassName = "Infrared devices" MR720.DevDesc = "MR720 Serial Infrared Device" MR720T.DevDesc = "MR720T Serial Infrared Device" IRSIR.Help = "An IrDA serial infrared device is a built-in COM port or external transceiver which transmits infrared pulses. This NDIS miniport driver installs as a network adapter and binds to the Fast IR protocol." InfraredTransceiver = "Infrared Transceiver" SerialPort = "Serial Port" ;******************************************* ;Handy macro substitutions (non-localizable) SPSVCINST_ASSOCSERVICE = 0x00000002 SERVICE_KERNEL_DRIVER = 1 SERVICE_BOOT_START = 0 SERVICE_DEMAND_START = 3 SERVICE_ERROR_NORMAL = 1 SERVICE_ERROR_CRITICAL = 3 REG_EXPAND_SZ = 0x00020000 REG_DWORD = 0x00010001