Hi all,
I have written a volume upper filter for win2k3 and want to attch it to
volume devices (ftdisk devices) before the volsnap driver (volume snapshot
driver) gets attached to it.For this I have made a upper filter entry under
in the HKLM\SYSTEM\CCS\control\class{71a27…} key( “storage volumes”
class).I also added my driver’s tag value to the front of the group order
list for LoadGroup “System Bus Extender” (same as volsnap).
Now the problem I am facing is after all this entries volsnap gets loaded
and attached befor my filter gets loaded.My driver specifically need to be
get loaded before volsnap.
These are the INF file entries I have written for the installation.It works
fine on win2k and winXP.The problem is when I try to install it on win2k3.
.
.
.
[DefaultInstall.NT]
CopyFiles = @MyFilter.sys
AddReg = MyFilter_AddReg
[MyFilter_AddReg]
HKLM,
System\CurrentControlSet\Control\Class{71A27CDD-812A-11D0-BEC7-08002BE2092F},
UpperFilters, 0x00010008, MyFilter
[DefaultInstall.NT.Services]
AddService = MyFilter, 0x00000001 , MyFilter_Service_Inst,
MyFilter_EventLog_Inst
[MyFilter_Service_Inst]
DisplayName = %MyFilter.SvcDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_BOOT_START%
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\MyFilter.sys
LoadOrderGroup = “System Bus Extender”
[MyFilter_EventLog_Inst]
AddReg = MyFilter_EventLog_AddReg
[MyFilter_EventLog_AddReg]
HKR,EventMessageFile,
%REG_EXPAND_SZ%,“%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\MyFilter.sys”
HKR,TypesSupported, %REG_DWORD%, 7
.
.
.
Please can anybody tell me why such thing is happening?
Thanx,
Giri.
UpperFilters don’t care for group order.
For XP you probably simply changed UpperFilters contents from VolSnap
YourFilter to YourFilter VolSnap.
For W2K3 volsnap drives its own class “Storage volume shadow copies”.
Regards
Else
Giri
om> cc:
Sent by: Subject: [ntdev] Problem attaching upper filter to volume before volsnap (Unsigned
bounce-241068-16691@li Mail)
sts.osr.com
02/23/2006 08:31 AM
Please respond to
“Windows System
Software Devs Interest
List”
Hi all,
I have written a volume upper filter for win2k3 and want to attch it to
volume devices (ftdisk devices) before the volsnap driver (volume snapshot
driver) gets attached to it.For this I have made a upper filter entry under
in the HKLM\SYSTEM\CCS\control\class{71a27…} key( “storage volumes”
class).I also added my driver’s tag value to the front of the group order
list for LoadGroup “System Bus Extender” (same as volsnap).
Now the problem I am facing is after all this entries volsnap gets loaded
and attached befor my filter gets loaded.My driver specifically need to be
get loaded before volsnap.
These are the INF file entries I have written for the installation.It works
fine on win2k and winXP.The problem is when I try to install it on win2k3.
.
.
.
[DefaultInstall.NT]
CopyFiles = @MyFilter.sys
AddReg = MyFilter_AddReg
[MyFilter_AddReg]
HKLM,
System\CurrentControlSet\Control\Class{71A27CDD-812A-11D0-BEC7-08002BE2092F},
UpperFilters, 0x00010008, MyFilter
[DefaultInstall.NT.Services]
AddService = MyFilter, 0x00000001 , MyFilter_Service_Inst,
MyFilter_EventLog_Inst
[MyFilter_Service_Inst]
DisplayName = %MyFilter.SvcDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_BOOT_START%
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\MyFilter.sys
LoadOrderGroup = “System Bus Extender”
[MyFilter_EventLog_Inst]
AddReg = MyFilter_EventLog_AddReg
[MyFilter_EventLog_AddReg]
HKR,EventMessageFile,
%REG_EXPAND_SZ%,“%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\MyFilter.sys”
HKR,TypesSupported, %REG_DWORD%, 7
.
.
.
Please can anybody tell me why such thing is happening?
Thanx,
Giri.
— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed to
ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank
email to xxxxx@lists.osr.com