;
; PMJ151NM.INF
;                 Copyright (C) 2002 by Matsushita Electric Industrial Co. ,Ltd,
;

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ProviderName%
DriverVer=4/11/2002,1.0

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%PanaMfg%=Panasonic

[DestinationDirs]
PMJ151NM.CopyDrivers=10,system32\drivers
AutoLaunchCopyFiles=10
AutoLaunchCopyFiles9x=10


;---------------------------------------------------------------
;              Panasonic
;              PMJ151NM.SYS 
;---------------------------------------------------------------

[Panasonic]
%PMJ151NM.DeviceDesc%=PMJ151NM.Device,PMJ151NM

[PMJ151NM.Device]
AlsoInstall=ks.registration(ks.inf),kscaptur.registration(kscaptur.inf)
AddReg=     PMJ151NM.AddReg,DriverAddReg
CopyFiles=  PMJ151NM.CopyDrivers,AutoLaunchCopyFiles9x
KnownFiles= PMJ151NM.KnownFiles

[PMJ151NM.Device.NT]
Include=    ks.inf,kscaptur.inf
Needs=      Stream.Registration,KS.Registration,KSCAPTUR.Registration.NT
AddReg=     PMJ151NM.AddReg,DriverAddReg.NT
CopyFiles=  PMJ151NM.CopyDrivers,AutoLaunchCopyFiles

[PMJ151NM.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PMJ151NM.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01

[PMJ151NM.CopyDrivers]
PMJ151NM.sys

;;**********NT INSTALL********************
[DriverAddReg.NT]
HKLM,%RUNONCEKEYNAME%,PMJ151Start,,"rundll32 PMJ151SS,PMJ151SS PMJ151NM"

[AutoLaunchCopyFiles]
PMJ151LA.BIN,,,0x60
PMJ151MG.BIN,,,0x10
PMJ151CM.DLL,,,0x60
PMJ151SS.DLL,,,0x60

[PMJ151NM.Device.NT.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,


;;**********9x INSTALL********************
[DriverAddReg]
HKLM,%RUNKEYNAME%,"PMJ151 AutoLaunch Service",,PMJ1519X.EXE

[AutoLaunchCopyFiles9x]
PMJ1519X.EXE,,,0x60
PMJ151MG.BIN,,,0x10
PMJ151CM.DLL,,,0x60
RemDrv16.exe,,,0x10

[PMJ151NM.KnownFiles]
PMJ151NM.sys=safe

[PMJ151NM.Device.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,


;;**********Video Capture********************

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%PMJ151NM.Capture%
HKR,PinFactory\0\Interfaces\{00D3E0B6-B28F-4f5d-B077-F972C7D368F5},,,{00D3E0B6-B28F-4f5d-B077-F972C7D368F5}
HKR,,PMJ151NM,,%AUTOLAUNCHCOMMAND%


;;**********NT Services********************

[PMJ151NM.Device.NT.Services]
AddService = PMJ151NM,0x00000002,PMJ151NM.ServiceInstall
AddService = PMJ151LA,,PMJ151NMService

[PMJ151NM.ServiceInstall]
DisplayName   = %PMJ151NM.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\PMJ151NM.sys

[PMJ151NMService]
ServiceType=16
StartType=2
DisplayName="PMJ151 AutoLaunch Service"
ErrorControl=1
ServiceBinary=%10%\PMJ151LA.BIN


;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]

;----------------
; Non-Localizable
;----------------

SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1

;----------------
; Localizable
;----------------

ProviderName=       "Panasonic"
PanaMfg=            "Panasonic"
PMJ151NM.Disk1=      "Install Disk"
PMJ151NM.DeviceDesc= "Panasonic DVC Web Camera"
PMJ151NM.Capture=    "Panasonic DVC Web Camera"
RUNKEYNAME="Software\Microsoft\Windows\CurrentVersion\Run"
RUNONCEKEYNAME="Software\Microsoft\Windows\CurrentVersion\RunOnce"
AUTOLAUNCHCOMMAND="%windir%\PMJ151MG.BIN %s %s"