;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Copyright (c) 2011 Hauppauge Computer Works, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   Abstract:
;
;       This is the WinTV DCR-2650 Consumer IR driver inf file.
;
;------------------------------------------------------------------------

[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider="Hauppauge"
DriverVer=11/02/2011,1.00.29308
CatalogFile=HcwMocurIR.cat
DriverPackageType=PlugAndPlay
DriverPackageDisplayName="WinTV DCR-2650 Consumer IR"

[Manufacturer]
"Hauppauge"=Hauppauge,NTx86.6

[DestinationDirs]
DefaultDestDir = 12
IR_CoInstaller_CopyFiles = 11

[SourceDisksNames.x86]
1=%WINTV_DCR2650_INSTALLDISK%,,,Driver2650


[SourceDisksFiles]
HcwMocurIR.sys  = 1,,
WdfCoInstaller01009.dll=1


[Hauppauge.NTx86.6]
%HCWMocurIR.DeviceDesc%=HcwMocurIR_Device,*HCWE300


[HcwMocurIR_Device.NT]
CopyFiles=Drivers_Dir

[HcwMocurIR_Device.NT.HW]
AddReg=HcwMocurIR_Device.NT.AddReg

[HcwMocurIR_Device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;WD)" ; Allow generic-all access to Built-in administrators, Local system and world 
;HKR,"HcwCIR", "Allow_Handshake",0x00010001,88

[Drivers_Dir]
HcwMocurIR.sys

;-------------- Service installation
[HcwMocurIR_Device.NT.Services]
AddService = HcwMocurIR,%SPSVCINST_ASSOCSERVICE%, HcwMocurIR_Service_Inst

; -------------- HcwMocurIR driver install sections
[HcwMocurIR_Service_Inst]
DisplayName    = %HCWMocurIR.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\HcwMocurIR.sys
LoadOrderGroup = Extended Base
AddReg         = HcwMocurIR_Device.NT.AddReg.Services


[HcwMocurIR_Device.NT.AddReg.Services]

;
;--- HcwMocurIR_Device Coinstaller installation ------
;
[HcwMocurIR_Device.NT.CoInstallers]
AddReg=IR_CoInstaller_AddReg
CopyFiles=IR_CoInstaller_CopyFiles

[IR_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller"
HKR,,CoInstallers32,0x00010008,"CIRCoInst.dll,IRCoInstaller"

[IR_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

;;[HcwMocurIR_Device.NT.WdfSection]
;;USE_WDF_DYNAMIC
;;COMPONENTS = WdfDynam

[HcwMocurIR_Device.NT.Wdf]
KmdfService = HcwMocurIR, HcwMocurIR_wdfsect

[HcwMocurIR_wdfsect]
KmdfLibraryVersion = 1.9


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
HCWMocurIR.DeviceDesc = "Hauppauge WinTV DCR-2650 Consumer IR"
HCWMocurIR.SVCDESC    = "Hauppauge WinTV DCR-2650 Consumer IR"

WINTV_DCR2650_INSTALLDISK   = "Hauppauge WinTV DCR-2650 Drivers Install Disk"


