; Copyright (c) 2004 NEC Corporation

[Version]
Signature = "$WINDOWS NT$"
Class = Modem
ClassGuid = {4D36E96D-E325-11CE-BFC1-08002BE10318}
Provider = %Mfg%
DriverVer = 03/04/2004,1.0.7 ;New version number for overwriting previous versions
;CatalogFile = jausbmd.cat

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
FakeModemCopyFileSection=10,system32\drivers
DefaultDestDir = 10,system32\drivers
CoCopyINF.CopyFiles = 11                                   ; Driver Installation (dll->system32)

; Drivers
;----------------------------------------------------------
[Manufacturer]
%Mfg% = Models

[SourceDisksNames]
1 = %DISK1%,,,

[SourceDisksFiles]
jausbfn.sys = 1

[Models]
%wusen.DeviceDesc% = wusen, WDM_MODEM\VID_0409&PID_011C&MODEM

; Modem sections
;----------------------------------------------------------
[wusen.AddReg]
HKR,, Properties, 1, 00,00,00,00, FF,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 30,00,00,00, 80,BB,00,00, 00,DC,05,00

[All]
HKR,, FriendlyDriver, 0, Unimodem.vxd
HKR,, DevLoader, 0, *vcomm
HKR,, ConfigDialog, 0, modemui.dll
HKR,, EnumPropPages, 0, modemui.dll, EnumPropPages
HKR,, PortSubClass, 1, 02

[USB]
HKR,, DeviceType, 1, 01

[MfgAddReg]
HKR, Answer,    1,, "ATA<cr>"
HKR, Hangup,    1,, "ATH<cr>"
HKR,, InactivityScale,1, 3c,00,00,00
HKR, Init,      1,, "AT<cr>" 
HKR, Init,      2,, "AT&F<cr>"
HKR, Init,      3,, "ATE1V1X4&D2&C1S0=0<cr>"
HKR, Monitor,   1,, "ATS0=0<cr>"
HKR, Monitor,   2,, "None"
HKR,, Reset,, "AT&F<cr>"
HKR, Settings, CallSetupFailTimer,, "S7=<#>"
HKR, Settings, DialPrefix,, "D"
HKR, Settings, DialSuffix,, ""
HKR, Settings, Prefix,, "AT"
HKR, Settings, FlowControl_Off,, "+IFC=0,0"
HKR, Settings, FlowControl_Hard,, "+IFC=2,2"
HKR, Settings, FlowControl_Soft,, "+IFC=1,1"
HKR, Settings, Terminator,, "<cr>"

HKR, Responses, "0<cr>",                           1, 00, 00, 00,00,00,00, 00,00,00,00  ;OK
HKR, Responses, "1<cr>",                           1, 02, 00, 00,00,00,00, 00,00,00,00  ;CONNECT
HKR, Responses, "2<cr>",                           1, 08, 00, 00,00,00,00, 00,00,00,00  ;RING
HKR, Responses, "3<cr>",                           1, 04, 00, 00,00,00,00, 00,00,00,00  ;NO CARRIER
HKR, Responses, "4<cr>",                           1, 03, 00, 00,00,00,00, 00,00,00,00  ;ERROR
HKR, Responses, "5<cr>",                           1, 05, 00, 00,00,00,00, 00,00,00,00  ;NO DIALTONE
HKR, Responses, "6<cr>",                           1, 06, 00, 00,00,00,00, 00,00,00,00  ;BUSY
HKR, Responses, "7<cr>",                           1, 07, 00, 00,00,00,00, 00,00,00,00  ;NO ANSWER
HKR, Responses, "<cr><lf>OK<cr><lf>",              1, 00, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>RING<cr><lf>",            1, 08, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>ERROR<cr><lf>",           1, 03, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>NO CARRIER<cr><lf>",      1, 04, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>NO DIALTONE<cr><lf>",     1, 05, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>BUSY<cr><lf>",            1, 06, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>NO ANSWER<cr><lf>",       1, 07, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>CONNECT<cr><lf>",         1, 02, 00, 00,00,00,00, 00,00,00,00
HKR, Responses, "<cr><lf>CONNECT 1200<cr><lf>",    1, 02, 00, 00,00,00,00, B0,04,00,00
HKR, Responses, "<cr><lf>CONNECT 2400<cr><lf>",    1, 02, 00, 00,00,00,00, 60,09,00,00
HKR, Responses, "<cr><lf>CONNECT 4800<cr><lf>",    1, 02, 00, 00,00,00,00, C0,12,00,00
HKR, Responses, "<cr><lf>CONNECT 7200<cr><lf>",    1, 02, 00, 00,00,00,00, 20,1C,00,00
HKR, Responses, "<cr><lf>CONNECT 9600<cr><lf>",    1, 02, 00, 00,00,00,00, 80,25,00,00
HKR, Responses, "<cr><lf>CONNECT 14400<cr><lf>",   1, 02, 00, 00,00,00,00, 40,38,00,00
HKR, Responses, "<cr><lf>CONNECT 19200<cr><lf>",   1, 02, 00, 00,00,00,00, 00,4B,00,00
HKR, Responses, "<cr><lf>CONNECT 38400<cr><lf>",   1, 02, 00, 00,00,00,00, 00,96,00,00
HKR, Responses, "<cr><lf>CONNECT 48000<cr><lf>",   1, 02, 00, 00,00,00,00, 80,BB,00,00
HKR, Responses, "<cr><lf>CONNECT 57600<cr><lf>",   1, 02, 00, 00,00,00,00, 00,E1,00,00
HKR, Responses, "<cr><lf>CONNECT 115200<cr><lf>",  1, 02, 00, 00,00,00,00, 00,C2,01,00
HKR, Responses, "<cr><lf>CONNECT 230400<cr><lf>",  1, 02, 00, 00,00,00,00, 00,84,03,00
HKR, Responses, "<cr><lf>CONNECT 460800<cr><lf>",  1, 02, 00, 00,00,00,00, 00,08,07,00

[wusen.NT.HW]
AddReg = LowerFilterAddReg

[LowerFilterAddReg]
HKR,, "LowerFilters", 0x00010000, "jausbfn"

;----------------------------------------------------------
; User readable strings
;----------------------------------------------------------
[Strings]
DISK1 = "NEC Portable Phone CD-ROM"
;ProviderName = "NEC Corporation"
Mfg = "NEC Corporation"
wusen.DeviceDesc = "NEC Portable Phone KMP6J1L1"
wusen.SvcDesc    = "NEC Portable Phone KMP6J1L1 Modem Driver"

[wusen.NT]
CopyFiles = wusen.NT.Copy
AddReg = All, MfgAddReg, wusen.AddReg, USB

[wusen.NT.Copy]
jausbfn.sys

;-------------- Service installation
; Port Driver (function driver for this device)
[wusen.NT.Services]
AddService = jausbfn, 0x00000000, wusen.NT.Service_Inst

; -------------- Serial Port Driver install sections
[wusen.NT.Service_Inst]
DisplayName    = %wusen.SvcDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\jausbfn.sys






[FakeModemCopyFileSection]
jausbfn.sys,,,0x20


[CoCopyINF.AddReg]                                         ; Driver Installation
HKR,,CoInstallers32,0x10000,"cocpyinf.DLL,CoCopyINF"       ; Driver Installation
 
[CoCopyINF.CopyFiles]                                      ; Driver Installation
cocpyinf.dll,,,0x10                                        ; Driver Installation

[DefaultInstall]                                           ; Driver Installation
AddReg=CoCopyINF.AddReg                                    ; Driver Installation
CopyFiles=CoCopyINF.CopyFiles,FakeModemCopyFileSection     ; Driver Installation
CopyINF=jausbmd.inf                                         ; Driver Installation
