[Version]
LayoutFile  = layout.inf
Signature   = "$Windows NT$"
Class       = Infrared
ClassGUID   = {6bdd1fc5-810f-11d0-BEC7-08002BE2092F}
Provider    = %IR520SA%

; 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]
%IR520SAManuf%=IR520SA_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
IR520SA_CopyFiles=12

[IR520SA_Devices]
; DisplayName           Section       	DeviceID
; -----------           -------       	--------
%IR520SA.DevDesc%      = IR520SA,	SIRIR520SA


[IR520SA.NT]
DelReg                = DelAdvancedTab.reg
AddReg                = IRSIR.reg, IR520SA.reg, Port.reg
PromptForPort         = 1        ; This is handled by IRCLASS.DLL
BusType               = 1
Characteristics       = 0x4  ; NCF_PHYSICAL
;CopyFiles=IR520SA_CopyFiles

[IR520SA.NT.Services]
AddService= irsir, 2, IRSIR.AddService, common.EventLog

[IR520SA.NT.CoInstallers]
AddReg                = IRSIR.CoInstallers.reg

[Serial.reg]
HKR,  ,               SerialBased,0,    "0"


[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"

[IR520SA.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"


[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%\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="IR520SA Infrared Driver for Windows 2000",,1

[IR520SA_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]
IR520SA           = "IR520SA"
IR520SAManuf          = "( IR520SA Infrared Device )"

IRSIR.DevDesc       = "IR520SA Serial Infrared Driver"
DisplayClassName    = "Infrared devices"

IR520SA.DevDesc  = "IR520SA 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
