; GV1480-x64.inf
;
; Installation file (.inf) for GV1480.
;
; (c) Copyright 2011 GeoVision Inc.
;

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

[Manufacturer]
%MFGNAME%=DeviceList, NTamd64

[DestinationDirs]
DefaultDestDir=10,System32\Drivers

[ClassInstall32]
Addreg=DVR-DevicesClass

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

[SourceDisksFiles]
GV1480-x64.sys=1

[SourceDisksNames]
1=%INSTDISK%,,,

[DeviceList.NTamd64]
%DESCRIPTIONA%=DriverInstall,PCI\VEN_1172&DEV_0054&SUBSYS_88880001
%DESCRIPTIONB%=DriverInstall,PCI\VEN_1172&DEV_0054&SUBSYS_88880010


;------------------------------------------------------------------------------
;  Windows 2000 Sections
;------------------------------------------------------------------------------

; TODO Add a LogConfig command to the following install section if this is a legacy device

[DriverInstall.NT]
CopyFiles=DriverCopyFiles
KnownFiles=DriverKnownFiles

[DriverCopyFiles]
%DriverName%.sys,%DriverName%-x64.sys,,2

[DriverKnownFiles]
GV1480-x64.sys=safe

[DriverInstall.NT.Services]
AddService=%DriverName%,2,DriverService

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

[DriverInstall.NT.HW]
AddReg=DriverHwAddReg

[DriverHwAddReg]
;Workaround for XIO2000A's bug
HKLM,SYSTEM\CurrentControlSet\Services\pci\Parameters,104C8231,0x00000001,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00

;------------------------------------------------------------------------------
;  Windows 98 Sections
;------------------------------------------------------------------------------

[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles
; TODO Add a LogConfig command and section if this is a legacy device

[DriverAddReg]
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

[DriverInstall.HW]
AddReg=DriverHwAddReg

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGNAME="GeoVision Inc."
DriverName="GV1480"
INSTDISK="GeoVision Inc. Installation Disc"
DESCRIPTIONA="GV1480A/GV1240A/GV1248A/GV1120A/GV1008"
DESCRIPTIONB="GV1960"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
