; Windows Virtual Serial Port Setup File
; Copyright (c) 2002,2003 Huawei Incorporated
; Manufacturer: Huawei Incorporated
;
; This INF file installs a virtual COM port on Win2K system.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %HUAWEI%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 07/07/2010,2.3.828
CatalogFile= hwmdm.cat

[SourceDisksNames]
1000 = %HWSRCDISK%,"",,

[SourceDisksFiles]
hwusbser.sys = 1000

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%HUAWEI% = HWSerialPort

[HWSerialPort]
%HUAWEI01% = HwportInstall00, USB\VID_12d1&PID_1802&MI_01
%HUAWEI02% = HwportInstall00, USB\VID_12d1&PID_1802&MI_02
%HUAWEI01% = HwportInstall00, USB\VID_12d1&PID_1803&MI_01
%HUAWEI02% = HwportInstall00, USB\VID_12d1&PID_1803&MI_02
%HUAWEI04% = HwportInstall00, USB\VID_12d1&PID_1804&MI_01
%HUAWEI05% = HwportInstall00, USB\VID_12d1&PID_1804&MI_02


; ###### Installation Section ######

[HwportInstall00.NT]
CopyFiles = CopyFileSection00
AddReg = All00, AddReg.NT

[HwportInstall00.NT.Services]
AddService = hwmobile,  0x00000002, HW_USBSerialService

[HW_USBSerialService]
DisplayName   = "Huawei FP Handset USB Modem and USB Serial"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\hwusbser.sys
AddReg        = PowerReg

[CopyFileSection00]
hwusbser.sys,,,0x20

[All00]
HKR,,NTMPDriver,,hwusbser.sys

[PowerReg]
HKR,,QCDriverResident,0x00010001,1

[AddReg.NT]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[Strings]
HUAWEI   = "HUAWEI Incorporated"
HWSRCDISK = "HUAWEI Multimedia USB Driver Disk"
HUAWEI01 = "HUAWEI CDMA Handset - Application Interface"
HUAWEI02 = "HUAWEI CDMA Handset - NMEA"
HUAWEI04 = "HUAWEI FP Handset - PC UI Interface"
HUAWEI05 = "HUAWEI FP Handset - NMEA"
