PNP Order

Hi all,

somebody know if can I force my filter driver to be the first filter driver in the PNP call ?

Thanks in Advance,

Heldai

If you mean, can your filter be the topmost filter in the stack, then no there is no practical way to ensure this in general. You can insert an upper filter and ensure that it is the topmost filter in the stack when it is installed, but there is nothing to prevent another filter from coming in after yours and becoming the topmost filter.

What are you trying to accomplish?


Bill McKenzie
Windows DDK MVP
OSR - Windows System Software Development, Training, and Consulting

“Heldai” wrote in message news:xxxxx@ntdev…
Hi all,

somebody know if can I force my filter driver to be the first filter driver in the PNP call ?

Thanks in Advance,

Heldai

I have developed a boot protection driver and one encription driver to 9X, ME, NT, 2K. Boot protection is OK on XP, but to encrypt devices I need get all read/write operations on disk devices before PartMGR driver, but PartMGR is called before me. This is my context.

Thanks in advance,

Heldai
----- Original Message -----
From: Bill McKenzie
Newsgroups: ntdev
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 11:26 AM
Subject: [ntdev] Re: PNP Order

If you mean, can your filter be the topmost filter in the stack, then no there is no practical way to ensure this in general. You can insert an upper filter and ensure that it is the topmost filter in the stack when it is installed, but there is nothing to prevent another filter from coming in after yours and becoming the topmost filter.

What are you trying to accomplish?


Bill McKenzie
Windows DDK MVP
OSR - Windows System Software Development, Training, and Consulting

“Heldai” wrote in message news:xxxxx@ntdev…
Hi all,

somebody know if can I force my filter driver to be the first filter driver in the PNP call ?

Thanks in Advance,

Heldai

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

I have done this too and know of others who have similar solutions. Is the entire drive encrypted or just the system areas? Look at being the first filter above disk.sys or above the atapi driver. I hope the encryption is done well possibly with SmartCard support. Not easy to do, but you have competition from the Microsoft EFS.

----- Original Message -----
From: Heldai
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 10:31 AM
Subject: [ntdev] Re: PNP Order

I have developed a boot protection driver and one encription driver to 9X, ME, NT, 2K. Boot protection is OK on XP, but to encrypt devices I need get all read/write operations on disk devices before PartMGR driver, but PartMGR is called before me. This is my context.

Thanks in advance,

Heldai
----- Original Message -----
From: Bill McKenzie
Newsgroups: ntdev
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 11:26 AM
Subject: [ntdev] Re: PNP Order

If you mean, can your filter be the topmost filter in the stack, then no there is no practical way to ensure this in general. You can insert an upper filter and ensure that it is the topmost filter in the stack when it is installed, but there is nothing to prevent another filter from coming in after yours and becoming the topmost filter.

What are you trying to accomplish?


Bill McKenzie
Windows DDK MVP
OSR - Windows System Software Development, Training, and Consulting

“Heldai” wrote in message news:xxxxx@ntdev…
Hi all,

somebody know if can I force my filter driver to be the first filter driver in the PNP call ?

Thanks in Advance,

Heldai

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

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

I need encrypt some partitions(not operatung system partition). It was functioning very good on W2K and NT because I’m the first filter above disk.sys. On XP I need be the first filter above disk.sys. It is my problem over XP.
There is a solution for it on XP, right ? Thanks in advance.

Heldai
----- Original Message -----
From: David J. Craig
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 3:22 PM
Subject: [ntdev] Re: PNP Order

I have done this too and know of others who have similar solutions. Is the entire drive encrypted or just the system areas? Look at being the first filter above disk.sys or above the atapi driver. I hope the encryption is done well possibly with SmartCard support. Not easy to do, but you have competition from the Microsoft EFS.

----- Original Message -----
From: Heldai
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 10:31 AM
Subject: [ntdev] Re: PNP Order

I have developed a boot protection driver and one encription driver to 9X, ME, NT, 2K. Boot protection is OK on XP, but to encrypt devices I need get all read/write operations on disk devices before PartMGR driver, but PartMGR is called before me. This is my context.

Thanks in advance,

Heldai
----- Original Message -----
From: Bill McKenzie
Newsgroups: ntdev
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 11:26 AM
Subject: [ntdev] Re: PNP Order

If you mean, can your filter be the topmost filter in the stack, then no there is no practical way to ensure this in general. You can insert an upper filter and ensure that it is the topmost filter in the stack when it is installed, but there is nothing to prevent another filter from coming in after yours and becoming the topmost filter.

What are you trying to accomplish?


Bill McKenzie
Windows DDK MVP
OSR - Windows System Software Development, Training, and Consulting

“Heldai” wrote in message news:xxxxx@ntdev…
Hi all,

somebody know if can I force my filter driver to be the first filter driver in the PNP call ?

Thanks in Advance,

Heldai

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

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

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

How can I set on instalation that my driver will be the topmost on Windows XP?

Thanks in advance,

Heldai
----- Original Message -----
From: David J. Craig
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 3:22 PM
Subject: [ntdev] Re: PNP Order

I have done this too and know of others who have similar solutions. Is the entire drive encrypted or just the system areas? Look at being the first filter above disk.sys or above the atapi driver. I hope the encryption is done well possibly with SmartCard support. Not easy to do, but you have competition from the Microsoft EFS.

----- Original Message -----
From: Heldai
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 10:31 AM
Subject: [ntdev] Re: PNP Order

I have developed a boot protection driver and one encription driver to 9X, ME, NT, 2K. Boot protection is OK on XP, but to encrypt devices I need get all read/write operations on disk devices before PartMGR driver, but PartMGR is called before me. This is my context.

Thanks in advance,

Heldai
----- Original Message -----
From: Bill McKenzie
Newsgroups: ntdev
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 11:26 AM
Subject: [ntdev] Re: PNP Order

If you mean, can your filter be the topmost filter in the stack, then no there is no practical way to ensure this in general. You can insert an upper filter and ensure that it is the topmost filter in the stack when it is installed, but there is nothing to prevent another filter from coming in after yours and becoming the topmost filter.

What are you trying to accomplish?


Bill McKenzie
Windows DDK MVP
OSR - Windows System Software Development, Training, and Consulting

“Heldai” wrote in message news:xxxxx@ntdev…
Hi all,

somebody know if can I force my filter driver to be the first filter driver in the PNP call ?

Thanks in Advance,

Heldai

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

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

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

Thanks everyone, my drives is the topmost now.
The problem was on install program that don’t change registry entries on XP.

Heldai

----- Original Message -----
From: Bill McKenzie
Newsgroups: ntdev
To: NT Developers Interest List
Sent: Tuesday, September 17, 2002 11:26 AM
Subject: [ntdev] Re: PNP Order

If you mean, can your filter be the topmost filter in the stack, then no there is no practical way to ensure this in general. You can insert an upper filter and ensure that it is the topmost filter in the stack when it is installed, but there is nothing to prevent another filter from coming in after yours and becoming the topmost filter.

What are you trying to accomplish?


Bill McKenzie
Windows DDK MVP
OSR - Windows System Software Development, Training, and Consulting

“Heldai” wrote in message news:xxxxx@ntdev…
Hi all,

somebody know if can I force my filter driver to be the first filter driver in the PNP call ?

Thanks in Advance,

Heldai

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

yes but somebody else is going to install a new filter driver on the
same stack and you are not going to be topmost anymore.

It is a *REAL BAD IDEA* to incorporate a ‘must be on top’ restriction in
your filter driver. (I can think of other ways in which a ‘must be on
top’ restriction is a bad idea as well, but that has nothing to do with
drivers, well not literally anyway :wink:

===========================
Mark Roddy
Consultant, Microsoft DDK MVP
Hollis Technology Solutions
xxxxx@hollistech.com
www.hollistech.com
603-321-1032

-----Original Message-----
From: “Heldai”
To: “NT Developers Interest List”
Date: Wed, 18 Sep 2002 15:02:50 -0300
Subject: [ntdev] Re: PNP Order

> Thanks everyone, my drives is the topmost now.
> The problem was on install program that don’t change registry entries
> on XP.
>
> Heldai
>
> ----- Original Message -----
> From: Bill McKenzie
> Newsgroups: ntdev
> To: NT Developers Interest List
> Sent: Tuesday, September 17, 2002 11:26 AM
> Subject: [ntdev] Re: PNP Order
>
>
> If you mean, can your filter be the topmost filter in the stack, then
> no there is no practical way to ensure this in general. You can insert
> an upper filter and ensure that it is the topmost filter in the stack
> when it is installed, but there is nothing to prevent another filter
> from coming in after yours and becoming the topmost filter.
>
> What are you trying to accomplish?
>
> –
> Bill McKenzie
> Windows DDK MVP
> OSR - Windows System Software Development, Training, and Consulting
>
>
> “Heldai” wrote in message
> news:xxxxx@ntdev…
> Hi all,
>
> somebody know if can I force my filter driver to be the first
> filter driver in the PNP call ?
>
> Thanks in Advance,
>
> Heldai
> —
> You are currently subscribed to ntdev as: xxxxx@scuasecurity.com.br
> To unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hollistech.com
> To unsubscribe send a blank email to %%email.unsub%%
>