[Version] LayoutFile = layout.inf Signature = "$Windows NT$" Class = Infrared ClassGUID = {6bdd1fc5-810f-11d0-BEC7-08002BE2092F} Provider = %TitanSIR% ; 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" [DestinationDirs] ; ; Specify destination directories for groups of files. ; '12' indicates the Windows drivers directory. ; DefaultDestDir=12 Ser_CopyFiles=12 [Manufacturer] %TitanSIR%=MS_Devices [MS_Devices] ; DisplayName Section DeviceID ; ----------- ------- -------- %TitanSIR.DevDesc% = TitanSIR, SIRTitanSIR [TitanSIR.NT] CopyFiles = Ser_CopyFiles DelReg = DelAdvancedTab.reg AddReg = IRSIR.reg, TitanSIR.reg, Port.reg PromptForPort = 1 ; This is handled by IRCLASS.DLL BusType = 1 Characteristics = 0x4 ; NCF_PHYSICAL [TitanSIR.NT.Services] AddService= IR-200S, 2, IRSIR.AddService, common.EventLog [TitanSIR.NT.CoInstallers] AddReg = IRSIR.CoInstallers.reg [Ser_CopyFiles] IR-200S.sys [Serial.reg] HKR, , SerialBased,0, "0" [IRSIR.reg] HKR, Ndi, HelpText, 0, %IRSIR.Help% HKR, Ndi, Service, 0, "IR-200S" 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" [TitanSIR.reg] HKR,,InfraredTransceiverType,0,"1" 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" [IRSIR.AddService] DisplayName = %IRSIR.DevDesc% ServiceType = 1 ;%SERVICE_KERNEL_DRIVER% StartType = 3 ;%SERVICE_DEMAND_START% ErrorControl = 1 ;%SERVICE_ERROR_NORMAL% ServiceBinary = %12%\IR-200S.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 [Strings] TitanSIR = "Titan Electronic." IRSIR.DevDesc = "VScom IrDA serial adapter" DisplayClassName = "IR-200S Infrared devices" TitanSIR.DevDesc = "VScom IrDA serial adapter" 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