How to create a file object on IRQ Dispatch level??

Hi,
I am new in driver writing, so it seems that i always ask stupid question.

I need to create a file object when the filter driver processing the
IRP_MJ_CREATE.
But the ZwCreateFile and IoCreateFile all be called on IRQ PASSIVE LEVEL

How can I create a file object on dispatch level??

Thanks


Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com

Umm… IRP_MJ_CREATE is always called at passive
level, so you have nothing to worry about unless
you’re trying to call those functions from your
completion routine (which can be invoked at dispatch
level).

— gaoren wrote:
> Hi,
> I am new in driver writing, so it seems that i
> always ask stupid question.
>
> I need to create a file object when the filter
> driver processing the
> IRP_MJ_CREATE.
> But the ZwCreateFile and IoCreateFile all be called
> on IRQ PASSIVE LEVEL
>
> How can I create a file object on dispatch level??
>
> Thanks
>
>
>
>
_______
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at
> http://mail.yahoo.com
>
>
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@nryan.com
> To unsubscribe send a blank email to
%%email.unsub%%

=====
- Nicholas Ryan


Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

> How can I create a file object on dispatch level??

This is absolutely impossible. Routines necessary to create and initialize file object cannot run on DISPATCH_LEVEL.

Max

Max, Thank you very much.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Maxim S. Shatskih
Sent: Monday, May 13, 2002 8:22 PM
To: File Systems Developers
Subject: [ntfsd] Re: How to create a file object on IRQ Dispatch level??

How can I create a file object on dispatch level??

This is absolutely impossible. Routines necessary to create and initialize
file object cannot run on DISPATCH_LEVEL.

Max


You are currently subscribed to ntfsd as: xxxxx@yahoo.ca
To unsubscribe send a blank email to %%email.unsub%%


Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com