;==============================================================================
; Elgato Game Capture
; Driver Install Script (64 bit)
; Copyright (c) 2014, Elgato Systems GmbH
;------------------------------------------------------------------------------        
; History:
;------------------------------------------------------------------------------
; 23-Apr-14 MS 1st Elgato version
; 22-Sep-15 MS driver with dgb symbols
; 09-Oct-15 MS Sys file version 2.1.1.4
; 06-Nov-15 MS fix for BSOD 
;------------------------------------------------------------------------------
; Notes:
;------------------------------------------------------------------------------
;
;==============================================================================

[Version]
Signature   = "$CHICAGO$"
Class       = Media
ClassGUID   = {4d36e96c-e325-11ce-bfc1-08002be10318} 
Provider    = %Provider% 
DriverVer	= 11/06/2015,2.1.1.5
CatalogFile = Game_Capture_HD60.cat  

[SourceDisksNames]
1 = %DiskName%,,

[SourceDisksFiles]
ElgatoGC656.sys = 1

[DestinationDirs]
EyeTV.CopySys   = 12                  ; driver files

[ControlFlags]
ExcludeFromSelect    = *
ExcludeFromSelect.NT = *

[Manufacturer]
%Provider% = Elgato, NTamd64

[Elgato.NTamd64]
;MK III
%EyeTV.DeviceDesc% = EyeTV,USB\VID_0FD9&PID_005C 

[EyeTV.NTamd64]
Include       = ks.inf, kscaptur.inf
Needs         = KS.Registration.NT, KSCAPTUR.Registration.NT
AddReg        = EyeTV.AddReg
CopyFiles     = EyeTV.CopySys

[EyeTV.CopySys]
ElgatoGC656.sys

;===============================================================
;                R e g i s t r y
;===============================================================
[EyeTV.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,ElgatoGC656.sys
HKR,,PageOutWhenUnopened,3,01

;===============================================================
;                S e r v i c e s
;===============================================================
[EyeTV.NTamd64.Services]
Addservice = ElgatoGC656Y, 0x00000002, EyeTV.ServiceInstall

[EyeTV.ServiceInstall]
DisplayName    = %Service.FriendlyName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\ElgatoGC656.sys
LoadOrderGroup = Base
AddReg         = EyeTV.Service.AddReg

[EyeTV.Service.AddReg]
HKR,,DigitalJmp,0x00010001,0x00

;===============================================================
;                S t r i n g s
;===============================================================
[Strings]
;---------------------------------------------------------------
; Non-localizable (Windows)
;---------------------------------------------------------------
; Registry types
REG_SZ                           = 0x00000000
REG_MULTI_SZ                     = 0x00010000
REG_EXPAND_SZ                    = 0x00020000
REG_DWORD                        = 0x00010001

; Service: ServiceType values
SERVICE_KERNEL_DRIVER            = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER       = 0x00000002
SERVICE_ADAPTER                  = 0x00000004
SERVICE_RECOGNIZER_DRIVER        = 0x00000008
SERVICE_WIN32_OWN_PROCESS        = 0x00000010
SERVICE_WIN32_SHARE_PROCESS      = 0x00000020
SERVICE_INTERACTIVE_PROCESS      = 0x00000100
SERVICE_INTERACTIVE_SHARE_PROCESS= 0x00000120

; Service: StartType values
SERVICE_BOOT_START               = 0x00000000
SERVICE_SYSTEM_START             = 0x00000001
SERVICE_AUTO_START               = 0x00000002
SERVICE_DEMAND_START             = 0x00000003
SERVICE_DISABLED                 = 0x00000004

; Service: ErrorControl values
SERVICE_ERROR_IGNORE             = 0x00000000
SERVICE_ERROR_NORMAL             = 0x00000001
SERVICE_ERROR_SEVERE             = 0x00000002
SERVICE_ERROR_CRITICAL           = 0x00000003

; Characteristic flags
NCF_VIRTUAL                 = 0x0001
NCF_WRAPPER                 = 0x0002
NCF_PHYSICAL                = 0x0004
NCF_HIDDEN                  = 0x0008
NCF_NO_SERVICE              = 0x0010
NCF_NOT_USER_REMOVABLE      = 0x0020
NCF_HAS_UI                  = 0x0080
NCF_MODEM                   = 0x0100

; Service install flags
SPSVCINST_TAGTOFRONT        = 0x1
SPSVCINST_ASSOCSERVICE      = 0x2

;---------------------------------------------------------------
; Localizable
;---------------------------------------------------------------
Provider                 = "Elgato "
DiskName                 = "EyeTV Driver CD"

; Service strings
Service.FriendlyName     = "Elgato Game Capture HD60"

; Device Manager
EyeTV.DeviceDesc         = "Game Capture HD60"

