;**************************************************
;*                                                *
;* iarport.inf - Virtual COM Port to USB          *
;* Driver for Windows NT family                   *
;*                                                *
;* Copyright 2009 IAR Systems                     *
;*                                                *
;**************************************************

;
; Modified for Windows 7 using this info:
; http://blogs.6bit.com/josh/2009/10/usb-communications-device-class-on-64-bit-windows/
;

[Version]
Signature="$Windows NT$"
Class=Ports
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}
Provider=%IAR%
DriverVer=01/17/2012,1.0.8

[SourceDisksFiles]

[SourceDisksNames]

[Manufacturer]
%IAR%=IAR_Systems, NTx86, NTamd64

[IAR_Systems]
%IAR_CDC&PID_004F%=IarVirCOM,USB\VID_FFFF&PID_004F

[IAR_Systems.NTx86]
%IAR_CDC&PID_004F%=IarVirCOM,USB\VID_FFFF&PID_004F

[IAR_Systems.NTamd64]
%IAR_CDC&PID_004F%=IarVirCOM,USB\VID_FFFF&PID_004F

;**************************************************
;*   Windows NT family                            *
;**************************************************
[IarVirCOM.NT]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=IarVirCOM.NT.AddReg

[IarVirCOM.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[IarVirCOM.NTx86]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=IarVirCOM.NT.AddReg

[IarVirCOM.NTx86.Services]
AddService=usbser, 0x00000002,IarVirCOMService_Inst

[IarVirCOM.NTamd64]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=IarVirCOM.NT.AddReg

[IarVirCOM.NTamd64.Services]
AddService=usbser, 0x00000002,IarVirCOMService_Inst


[IarVirCOMService_Inst]
DisplayName=%IarVirCOM.SvcDesc%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys
LoadOrderGroup=Base

;**************************************************
;* Strings                                        *
;**************************************************
[Strings]
IAR="IAR Systems"
IAR_CDC&PID_004F="CDC Communication Port"
IarVirCOM.SvcDesc="IAR Virtual COM port"
