; GV1480.inf
;
; Installation file (.inf) for the device.
;
; (c) Copyright 2011 GeoVision Inc.
;

[Version]
signature="$CHICAGO$"
Class=DVR-Devices
ClassGUID={4d36e96c-e325-11ce-bfc1-0123456789AB}
Provider=%Msft%
CatalogFile=%DriverName%.cat
DriverVer=07/08/2011,1.11.0.0

[Manufacturer]
%Msft%=Manufact

[Manufact]
%DVR.DeviceDescA%=DeviceSection,PCI\VEN_1172&DEV_0054&SUBSYS_88880001
%DVR.DeviceDescB%=DeviceSection,PCI\VEN_1172&DEV_0054&SUBSYS_88880010

[DestinationDirs]
DVR.CopyDrivers=10,system32\drivers

[ClassInstall32]
Addreg=DVR.DevicesClass

[DVR.DevicesClass]
HKR,,,,"DVR-Devices"
HKR,,Icon,,"-5"

[SourceDisksFiles]
GV1480.sys=1

[SourceDisksNames]
1=%INSTDISK%,,,

[DeviceSection]
AddReg=     DVR.AddReg
CopyFiles=  DVR.CopyDrivers

[DVR.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DriverName%.sys
;Workaround for XIO2000A's bug
HKLM,SYSTEM\CurrentControlSet\Services\pci\Parameters,104C8231,0x00000001,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00

[DVR.CopyDrivers]
%DriverName%.sys

[DeviceSection.Services]
AddService = %DriverName%,0x00000002,DeviceSection.ServiceInstall

[DeviceSection.ServiceInstall]
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\%DriverName%.sys

[Strings]
Msft=			"GeoVision Inc."
DriverName=		"GV1480"
INSTDISK="GeoVision Inc. Installation Disc"
DVR.DeviceDescA=	"GV1480A/GV1240A/GV1248A/GV1120A/GV1008"
DVR.DeviceDescB=	"GV1960"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
