; 
; Shenzhen Kaifa Technology Comunication Device Class driver instalation file
; (C)2014 Copyright Shenzhen Kaifa Technology Co.,Ltd.
;

[Version] 
Signature="$Windows NT$" 
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} 
Provider=%KAIFA% 
LayoutFile=layout.inf
DriverVer=2014-05-15

[Manufacturer] 
%KAIFA%=DeviceList,NTamd64

[DestinationDirs] 
DefaultDestDir=12 

[SourceDisksFiles]

[SourceDisksNames]

[DeviceList] 
%DESCRIPTION%=KAIFAUSB, USB\VID_0483&PID_5740

[DeviceList.NTamd64]
%DESCRIPTION%=KAIFAUSB, USB\VID_0483&PID_5740

;------------------------------------------------------------------------------
;  Windows 2000/XP Sections
;------------------------------------------------------------------------------
[KAIFAUSB.nt] 
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=KAIFAUSB.nt.AddReg 

[DriverCopyFiles.nt]
usbser.sys,,,0x20

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

[KAIFAUSB.nt.Services] 
AddService=usbser, 0x00000002, DriverService.nt


[KAIFAUSB.nt.HW]
include=mdmcpq.inf

[DriverService.nt] 
DisplayName=%DESCRIPTION% 
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys 

;------------------------------------------------------------------------------
;              Windows Vista x64 / Windows7 x64 Support
;------------------------------------------------------------------------------
[KAIFAUSB.NTamd64] 
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=KAIFAUSB.NTamd64.AddReg 

[DriverCopyFiles.NTamd64]
;usbser.sys,,,0x20

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

[KAIFAUSB.NTamd64.Services] 
AddService=usbser, 0x00000002, DriverService.NTamd64


[KAIFAUSB.NTamd64.HW]
include=mdmcpq.inf

[DriverService.NTamd64] 
DisplayName=%DESCRIPTION% 
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys 

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------
[Strings] 
KAIFA="Shenzhen Kaifa Technology Co., Ltd."
DESCRIPTION="Kaifa Virtual COM Port" 
