Hi all
I am trying to develop a filter driver . While loading filter driver after
the files are copied onto the systems directory it gives an error could not
find the files . This is the INF file I am Using . Can anybody help me to
solve this problem ?
Both the function driver( USB driver ) and filter driver are vendor specific
class .
[Version]
Signature=“$CHICAGO$”
Provider=%TS%
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Class=USB
CatalogFile=usbdrv.cat
DriverVer=06/11/2001
[DestinationDirs]
DefaultDestDir.sys = 10,system32\drivers
DefaultDestDir.inf = 10,INF
;
; Source file information
;
[SourceDisksNames]
1 = %DiskId1%,
[SourceDisksFiles]
; Files for disk Transilica Inc. Installation Disk #1 (USB)
usbdrv.sys = 1
transusb_wfilter.inf = 1
filter.sys = 1
;
; Driver information
;
[Manufacturer]
%TS% = TS.Mfg
[TS.Mfg]
%TS.DeviceDesc0% = usbdrv, USB\VID_0547&PID_7777
;
; General installation section
;
[usbdrv]
;Install section for windows 98/Me
CopyFiles=DefaultDestDir.sys,DefaultDestDir.inf
AddReg=DriverAddReg
[usbdrv.NT]
;Install section for windows 2000
CopyFiles=DefaultDestDir.sys,DefaultDestDir.inf
AddReg=DriverAddReg.NT
[DriverAddReg]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,usbdrv.sys
HKR,“UpperFilters”,0x00010000,“FilterService”
HKR,“SampleFilterParam”,0x00010001,512
[DriverAddReg.NT]
HKR,“UpperFilters”,0x00010000,“FilterService”
HKR,“SampleFilterParam”,0x00010001,512
;
; File sections
;
[DefaultDestDir.sys]
usbdrv.sys
filter.sys
[DefaultDestDir.inf]
tr_filter.inf
;
; Service Installation
;
;[usbdrv.Services]
;AddService = usbdrv, 0x00000002 , usbdrv_Service_Inst
[usbdrv.NT.Services]
AddService = usbdrv, 0x00000002 , usbdrv_Service_Inst
AddService = filter,Filter_Service_Inst
[usbdrv_Service_Inst]
DisplayName = %usbdrv.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0x1 ; SERVICE_ERROR_NORMAL
;LoadOrderGroup = Base
ServiceBinary = %10%\system32\drivers\usbdrv.sys
[Filter_Service_Inst]
DisplayName = “Filter Service”
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_DEMAND_START%
ErrorControl = 1 ;%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\filter.sys
;LoadOrderGroup = extended base
[Strings]
TS.DeviceDesc0 = “USB Device”
DiskId1 = “Installation Disk #1 (USB)”
TS = “Tr Inc.”
usbdrv.SvcDesc=" USB Driver"
Thanks in advance
srinivas
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com