; Copyright (c) AVerMedia All rights reserved.
;
; Installation inf file for AVerMedia C873 USB IR Blaster
;

[Version]
signature           ="$CHICAGO$"
Class               =Media
ClassGUID           ={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            =%ProviderName%
DriverVer           =08/18/2010,2.1.0.133
CatalogFile         =AVerFx2Bstr.cat

[Manufacturer]
%ProviderName% = AVerMedia

[SourceDisksNames]
1="AVerMedia USB IR Blaster Drivers",,,""

[SourceDisksFiles]
AVerFx2Bstr.sys = 1

[AVerMedia]
%AVerBlaster.DeviceDesc%=BLASTER,  USB\VID_07ca&PID_c873

[BLASTER]
Include      = ks.inf, ksfilter.inf
Needs        = KS.Registration
AddReg       = BLASTER.AddReg, BlasterDevice.AddReg
CopyFiles    = AVerBlaster.CopyDrivers

[BLASTER.NT]
Include      = ks.inf, ksfilter.inf
Needs        = KS.Registration
AddReg       = BLASTER.AddReg, BlasterDevice.AddReg
CopyFiles    = AVerBlaster.CopyDrivers 


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

[AVerBlaster.CopyDrivers]
AVerFx2Bstr.sys

[BlasterDevice.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,AVerFx2Bstr.sys

; Disable driver page out
HKR,,PageOutWhenUnopened,3,0

[BLASTER.AddReg]

HKR,"DriverData","DrvProcType",          0x00010001, 0x0c, 0x00, 0x00, 0x00

;
; Interfaces installation
;

[BLASTER.Interfaces]
AddInterface = {CC7BFB46-F175-11d1-A392-00E0291F3959}, {9CB29AEF-6CCB-4e56-9748-355410B40AB6}, AVer_DeviceControlInterface,
AddInterface = %CLSID_AVER_IR_LEARNING%, {9CB29AEF-6CCB-4e56-9748-355410B40AB6}, AVer_DeviceControlInterface,

[BLASTER.NT.Interfaces]
AddInterface = {CC7BFB46-F175-11d1-A392-00E0291F3959}, {9CB29AEF-6CCB-4e56-9748-355410B40AB6}, AVer_DeviceControlInterface,
AddInterface = %CLSID_AVER_IR_LEARNING%, {9CB29AEF-6CCB-4e56-9748-355410B40AB6}, AVer_DeviceControlInterface,

[AVer_DeviceControlInterface]
AddReg=AVer_DeviceControlInterface.AddReg

[AVer_DeviceControlInterface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%DeviceControlFriendlyName%


;
; Services installation
;

[BLASTER.Services]
AddService = AVerFx2Bstr,2,BlasterDevice.ServiceInstall

[BLASTER.NT.Services]
AddService = AVerFx2Bstr,2,BlasterDevice.ServiceInstall


[BlasterDevice.ServiceInstall]
DisplayName   = %AVerBlaster.ServiceName%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\AVerFx2Bstr.sys

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

[Strings]

;
; Device Names
;
AVerBlaster.DeviceDesc                = "AVerMedia C873 USB IR Blaster"
AVerBlaster.ServiceName                = "AVerMedia C873 USB IR Blaster"
;
; Friendly Names
;
DeviceControlFriendlyName              = "AVerMedia USB IR Blaster"


Proxy.CLSID                  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
CLSID_AVER_IR_LEARNING       = "{184FDB8D-4D3C-4ed9-BDC2-71D04BF13F9B}"


MediaCategories              = "SYSTEM\CurrentControlSet\Control\MediaCategories"
MediaSets                    = "System\CurrentControlSet\Control\MediaSets"
MediaInterfaces              = "System\CurrentControlSet\Control\MediaInterfaces"


; Our strings

AVerMedia                    = "AVerMedia TECHNOLOGIES, Inc."
ProviderName                 = "AVerMedia TECHNOLOGIES, Inc."
