Installing filter driver under Win98

I am trying to install a USB filter driver on Win98. I know how to install
one on Win2k/XP, but the same procedure seems to not work on Win98. Does
anyone know how to do it?

Thanks

xxxxx@sginet.com wrote:

I am trying to install a USB filter driver on Win98. I know how to install
one on Win2k/XP, but the same procedure seems to not work on Win98. Does
anyone know how to do it?

The basic issue is that Win98/Me doesn’t use the REG_MULTI_SZ registry
format. You can create REG_BINARY values that contain MULTI_SZ values if
you want. The FILTJECT.DLL code in my WDM book shows how to do this.

But, by far the easiest way to install a filter driver in 98/Me is when
you define your driver-key values:

HKR,DevLoader,*ntkern
HKR,NTMPDriver,“lowfilt.sys,fcndvr.sys,upfilt.sys”


Walter Oney, Consulting and Training
Check out new US seminar schedule at http://www.oneysoft.com

So the only change is to create the UpperFilters & LowerFilters registry
entries using REG_BINARY instead of REG_MULTI_SZ?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-ntdev-
xxxxx@lists.osr.com] On Behalf Of Walter Oney
Sent: Friday, September 20, 2002 4:46 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Installing filter driver under Win98

xxxxx@sginet.com wrote:
> I am trying to install a USB filter driver on Win98. I know how to
install
> one on Win2k/XP, but the same procedure seems to not work on Win98.
Does
> anyone know how to do it?

The basic issue is that Win98/Me doesn’t use the REG_MULTI_SZ registry
format. You can create REG_BINARY values that contain MULTI_SZ values
if
you want. The FILTJECT.DLL code in my WDM book shows how to do this.

But, by far the easiest way to install a filter driver in 98/Me is
when
you define your driver-key values:

HKR,DevLoader,*ntkern
HKR,NTMPDriver,“lowfilt.sys,fcndvr.sys,upfilt.sys”


Walter Oney, Consulting and Training
Check out new US seminar schedule at http://www.oneysoft.com


You are currently subscribed to ntdev as: xxxxx@sginet.com
To unsubscribe send a blank email to %%email.unsub%%

Brian Palmer wrote:

So the only change is to create the UpperFilters & LowerFilters registry
entries using REG_BINARY instead of REG_MULTI_SZ?

And using ANSI characters instead of unicode. AFAIK, there’s no INF
syntax for putting character strings into a REG_BINARY value – you have
to enter them one byte at a time in hex or decimal.


Walter Oney, Consulting and Training
Check out new US seminar schedule at http://www.oneysoft.com