problem in DriverNotification

Hi all,
I have problem in calling Zwcreatefile function. when i use
this function in DriverNotification routine my system crashed but
when i call it any where in program it works fine so plz tell me why
it is happen??

Thanks in advance

Manish K. Sharma

Hi Manish
You might have to check the IRQL level at DriverNotification routine. If
the IRQL is high you need to make it low (PASSIVE_LEVEL). Then Only ZwXXX
routines get called success fully.

Raghwendra

----- Original Message -----
From: “Manish Sharma”
To: “Windows File Systems Devs Interest List”
Sent: Thursday, June 02, 2005 10:32 AM
Subject: [ntfsd] problem in DriverNotification

> Hi all,
> I have problem in calling Zwcreatefile function. when i use
> this function in DriverNotification routine my system crashed but
> when i call it any where in program it works fine so plz tell me why
> it is happen??
>
> Thanks in advance
>
> Manish K. Sharma
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


Disclaimer:

The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.

This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use

Hi Raghwendra,
As i have already check it. The IRQL level is
PASSIVE_LEVEL in drivernotification routine but still it wont work.
But it will work fine any where else in my code

Manish K. Sharma

On 6/2/05, Raghwendra wrote:
>
> Hi Manish
> You might have to check the IRQL level at DriverNotification routine. If
> the IRQL is high you need to make it low (PASSIVE_LEVEL). Then Only ZwXXX
> routines get called success fully.
>
>
> Raghwendra
>
>
> ----- Original Message -----
> From: “Manish Sharma”
> To: “Windows File Systems Devs Interest List”
> Sent: Thursday, June 02, 2005 10:32 AM
> Subject: [ntfsd] problem in DriverNotification
>
>
> > Hi all,
> > I have problem in calling Zwcreatefile function. when i use
> > this function in DriverNotification routine my system crashed but
> > when i call it any where in program it works fine so plz tell me why
> > it is happen??
> >
> > Thanks in advance
> >
> > Manish K. Sharma
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
>
> Disclaimer:
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use
>

>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>