;; TW6805.inf

;; *********  PLEASE READ ***********
;; The wizard cannot create exact INF files for all buses and device types.
;; You may have to make changes to this file in order to get your device to
;; install. In particular, hardware IDs and logical configurations require
;; intervention.
;;
;; The Win2K DDK documentation contains an excellent INF reference.

;--------- Version Section ---------------------------------------------------

[Version]
Signature="$Windows 95$"
Provider=%ProviderName%

; If device fits one of the standard classes, use the name and GUID here,
; otherwise create your own device class and GUID as this example shows.

Class=MEDIA
ClassGUID={D0C7DD7C-1835-415f-9F29-2245DD1DE3FB}

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------

; These sections identify source disks and files for installation.  They are
; shown here as an example, but commented out.

;[SourceDisksNames]
;1 = "Install Disk",Disk1,,

;[SourceDisksFiles]
;TW6805.sys = 1,,

;--------- ClassInstall/ClassInstall32 Section -------------------------------

; Not necessary if using a standard class

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-5"

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
TW6805_Files_Driver = 10,System32\Drivers

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]

; PCI hardware IDs use the form
;   PCI\VEN_aaaa&DEV_bbbb&SUBSYS_cccccccc&REV_dd
;
%DeviceDesc%=TW6805_DDI, PCI\VEN_1797&DEV_6805

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------

; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98

[TW6805_DDI]
CopyFiles=TW6805_Files_Driver
AddReg=TW6805_9X_AddReg

[TW6805_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,TW6805.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0

; --------- Windows NT -----------------

[TW6805_DDI.NT]
CopyFiles=TW6805_Files_Driver
AddReg=TW6805_NT_AddReg

[TW6805_DDI.NT.Services]
Addservice = TW6805, 0x00000002, TW6805_AddService

[TW6805_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\TW6805.sys

[TW6805_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\TW6805\Parameters",\
	"BreakOnEntry", 0x00010001, 0


; --------- Files (common) -------------

[TW6805_Files_Driver]
TW6805.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
ProviderName    = "ShenZhen  Co. Ltd"
MfgName         = "ShenZhen  Co. Ltd"
DeviceDesc      = "PCI 6805 Capture_"
DeviceClassName = "Audio Capture Device"
SvcDesc		= "TW6805 Service"
