DependOnService and Tag

I appreciate any comments, i mean any…

I have a filter driver. I remember reading somewhere DependOnService is legacy stuff and WindowsXP onwards it is not really looked at. Please let me know if this is right.

In windows driver group not on ntdev list. I have seen the following
http://groups.google.com/groups?q=GroupOrderList&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=0ru6psglcl98t7e7mihc6q0aquru8b7610%404ax.com&rnum=1
Which says do not modify GroupOrderList. Is it insane to modify values in GroupOrderList?

For Example : Let us say i have driver that needs to be loaded after driver x and before driver y.
Both of them belong to same group G
The tag value of x is n
The tab value of y is n+1.

n and n+1 are listed one after the other in GroupOrderList for G as (TotalNumberOfEntriesinList, n-2, n-1, n, n+1, n+2 …)

I assumed the following and tested, which does not work all the time.
If have my driver
Group as G
Tag as n
DependOnService as x

The above does not work. The only right way i can see is to have the following value
Group as G
Tag as m
and Modify GroupOrderList as (TotatlNumberOfEntries, n-2, n-1, n, m, n+1, n+2, …

If i do this. Is it insane? Is there any other way of acheiving the same. This is regarding TDI drivers and tcpip.
Or is it i am doing something wrong and DependOnService with TagId should work?

-Srin.

I have used one of those in the past, all we did was set DependOnService to
Tcpip
and Group to PNP_TDI. This may not work if you are also trying to filter
NetBios over TCP.
Worked fine for UDP and TCP though.

-Jeff

-----Original Message-----
From: xxxxx@nai.com [mailto:xxxxx@nai.com]
Sent: Wednesday, August 20, 2003 3:08 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] DependOnService and Tag

I appreciate any comments, i mean any…

I have a filter driver. I remember reading somewhere DependOnService is
legacy stuff and WindowsXP onwards it is not really looked at. Please let me
know if this is right.

In windows driver group not on ntdev list. I have seen the following
http://groups.google.com/groups?q=GroupOrderList&hl=en&lr=&ie=UTF-8&oe=UTF-8
&selm=0ru6psglcl98t7e7mihc6q0aquru8b7610%404ax.com&rnum=1
Which says do not modify GroupOrderList. Is it insane to modify values in
GroupOrderList?

For Example : Let us say i have driver that needs to be loaded after driver
x and before driver y.
Both of them belong to same group G
The tag value of x is n
The tab value of y is n+1.

n and n+1 are listed one after the other in GroupOrderList for G as
(TotalNumberOfEntriesinList, n-2, n-1, n, n+1, n+2 …)

I assumed the following and tested, which does not work all the time.
If have my driver
Group as G
Tag as n
DependOnService as x

The above does not work. The only right way i can see is to have the
following value
Group as G
Tag as m
and Modify GroupOrderList as (TotatlNumberOfEntries, n-2, n-1, n, m, n+1,
n+2, …

If i do this. Is it insane? Is there any other way of acheiving the same.
This is regarding TDI drivers and tcpip.
Or is it i am doing something wrong and DependOnService with TagId should
work?

-Srin.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@concord.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
the latest virus scan software available for the presence of computer
viruses.
**********************************************************************