Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[INF] Need advices for Win2K disk filter driver

71 views
Skip to first unread message

Melvyn

unread,
Jul 26, 2001, 9:41:25 PM7/26/01
to
Dear all,
Can anyone tell me what's wrong with my INF for install disk filter
driver?
The filter driver can be installed via this INF file, and I can check
it in
device manager. But after reboot, the system can't find this driver
and then
ends up with blue screen. The error code is INACCESSIBLE_BOOT_DEVICE.
The INF file is porting from disk.inf and I simply made a little
changes in
order to install the filter driver.

The following is my INF file:
;;--------------------------------------------------------------------------
;;--------------------------------------------------------------------------
[Version]
Signature="$WINDOWS NT$"
Class=DiskDrive
ClassGuid={4D36E967-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
LayoutFile=layout.inf
DriverVer=11/14/1999,5.00.2183.1

;[ClassInstall32.NT]
;AddReg=disk_class_addreg

[disk_class_addreg]
HKR,,,,%DiskClassName%
HKR,,EnumPropPages32,,"StorProp.Dll,DiskPropPageProvider"
HKR,,SilentInstall,,1
HKR,,NoInstallClass,,1
HKR,,TroubleShooter-0,,"tshoot.chm,hdw_drives.htm"
HKR,,Icon,,"-53"
HKR,,DeviceType,0x10001,7 ; FILE_DEVICE_DISK
HKR,,DeviceCharacteristics,0x10001,0x100 ; Use same security
checks on relative opens

;;
;; Use to add filter drivers for the device
;;

[diskfilter_addreg]
HKR,,"LowerFilters",0x00010008,"diskfilter"

[disk_copyfiles]
disk.sys
diskfilter.sys

[DestinationDirs]
disk_copyfiles=12

[Manufacturer]
%GenManufacturer%=disk_device
%Compaq%=compaq
%Mylex%=mylex

[disk_device]
%disk_devdesc% = disk_install,GenDisk
%opticaldisk_devdesc% = disk_install,GenOptical

[compaq]
%compaq_array.DeviceDesc% = disk_install,
SCSI\DiskCompaq__Disk_Array______

[mylex]
%mylex_array.DeviceDesc% = disk_install, SCSI\DiskMYLEX___

[disk_install]
CopyFiles=disk_copyfiles

[disk_install.HW]
AddReg=disk_class_addreg
AddReg=diskfilter_addreg

[disk_install.Services]
AddService=disk,2,disk_ServiceInstallSection
AddService=diskfilter,,diskfilter_ServiceInstallSection

[disk_ServiceInstallSection]
DisplayName=%disk_ServiceDesc%
ServiceType=1
StartType=0
ErrorControl=1
ServiceBinary = %12%\disk.sys

[diskfilter_ServiceInstallSection]
DisplayName = %diskfilter_ServiceDesc%
ServiceType = 1
StartType = 1
ErrorControl = 1
ServiceBinary = %12%\diskfilter.sys
LoadOrderGroup = Pnp Filter

[Strings]
MSFT="Microsoft"
DiskClassName="Disk drives"
GenManufacturer="(Standard disk drives)"
Compaq="Compaq"
Mylex="Mylex"

disk_devdesc="Disk drive"
opticaldisk_devdesc="Optical disk drive"

disk_ServiceDesc="Disk Driver"
diskfilter_ServiceDesc = "Disk Filter Driver"

compaq_array.DeviceDesc = "Compaq SCSI Drive Array"
mylex_array.DeviceDesc = "Mylex RAID Disk Device"

;;--------------------------------------------------------------------------

Joseph A. Dziedzic

unread,
Jul 26, 2001, 10:09:00 PM7/26/01
to
You don't (cannot) install class filters via the INF file syntax. Take a look
at the "AddFilter" sample in the DDK for specifics of how to install a disk
class filter driver.

Joseph Dziedzic

In article <8ffe9006.01072...@posting.google.com>,

arturka...@gmail.com

unread,
Oct 10, 2016, 7:30:29 AM10/10/16
to
0 new messages