;
;   DCPORTCFG.INF (for Windows XP,Vista,Win7)
;
;   Copyright (c) 2010, DriverCoding Technology Inc.

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%COMPANY%
DriverVer= 12/21/2012,1.0.0.82
LayoutFile=LAYOUT.INF
CatalogFile=dcportcfg.cat

[DestinationDirs]
dccombus_device_Copy = 12

[SourceDisksNames]
1 = %DiskId%,,,""

[Manufacturer]
%StdMfg%=Standard,ntamd64

[Standard]
%DeviceDesc%=dccombus_device, USB\VID_1782&PID_3D02
%DeviceDesc%=dccombus_device, USB\VID_1688&PID_3D12
%DeviceDesc%=dccombus_device, USB\VID_12D1&PID_1D50
%DeviceDesc%=dccombus_device, USB\VID_1782&PID_0003
%DeviceDesc%=dccombus_device, USB\VID_1782&PID_0004

[Standard.ntamd64]
%DeviceDesc%=dccombus_device, USB\VID_1782&PID_3D02
%DeviceDesc%=dccombus_device, USB\VID_1688&PID_3D12
%DeviceDesc%=dccombus_device, USB\VID_12D1&PID_1D50
%DeviceDesc%=dccombus_device, USB\VID_1782&PID_0003
%DeviceDesc%=dccombus_device, USB\VID_1782&PID_0004

[dccombus_device.NT]
Include=usb.inf
Needs=Composite.Dev.NT
CopyFiles=dccombus_device_Copy

[dccombus_device.ntamd64]
Include=usb.inf
Needs=Composite.Dev.NT
CopyFiles=dccombus_device_Copy

[dccombus_device.NT.HW]
AddReg=dccombus_device_HW_AddReg

[dccombus_device.ntamd64.HW]
AddReg=dccombus_device_HW_AddReg

[dccombus_device_HW_AddReg]
HKR,,"LowerFilters",0x00010000,"dcportcfg"
HKR,,"ConfigurationValue",%REG_DWORD%, 1

[dccombus_device.NT.Services]
Include=usb.inf
Needs=Composite.Dev.NT.Services
AddService = dcportcfg,, dcportcfg_Service_Inst

[dccombus_device.ntamd64.Services]
Include=usb.inf
Needs=Composite.Dev.NT.Services
AddService = dcportcfg,, dcportcfg_Service_Inst

[dcportcfg_Service_Inst]
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\dcportcfg.sys
LoadOrderGroup = PNP Filter

[dccombus_device_Copy]
dcportcfg.sys

[SourceDisksFiles]
dcportcfg.sys = 1,,

[Strings]
COMPANY = "Spreadtrum"
SVCDESC = "Spreadtrum USB Composite Driver"
DeviceDesc = "Spreadtrum USB Composite Device"
DiskId = "Spreadtrum USB Composite Driver Installation Disk"
StdMfg = "Spreadtrum USB Composite Driver"

REG_DWORD = 0x00010001 