STATUS_PENDING

Can anyone reply a simple question? Can I return STATUS_PENDING from
IRP_MJ_CREATE?

Alexey Logachyov
xxxxx@vba.com.by
VirusBlokAda ltd.
http://www.vba.com.by


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Why not?
Of course, you can - if handled properly.

Paul

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Alexey Logachyov
Sent: Wednesday, January 16, 2002 1:22 PM
To: File Systems Developers
Subject: [ntfsd] STATUS_PENDING

Can anyone reply a simple question? Can I return STATUS_PENDING from
IRP_MJ_CREATE?

Alexey Logachyov
xxxxx@vba.com.by
VirusBlokAda ltd.
http://www.vba.com.by


You are currently subscribed to ntfsd as: xxxxx@compelson.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Sure, but the I/O manager will then immediately perform a
KeWaitForSingleObject on pIrp->UserEvent as soon as you return, so the
originating user thread will be blocked until you actually complete the
request. The I/O manager will do this for any user requests it considers
‘inherently synchronous’ - see p.659 of Nagar.

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-ntfsd-
xxxxx@lists.osr.com] On Behalf Of Alexey Logachyov
Sent: Wednesday, January 16, 2002 4:22 AM
To: File Systems Developers
Subject: [ntfsd] STATUS_PENDING

Can anyone reply a simple question? Can I return STATUS_PENDING from
IRP_MJ_CREATE?

Alexey Logachyov
xxxxx@vba.com.by
VirusBlokAda ltd.
http://www.vba.com.by


You are currently subscribed to ntfsd as: xxxxx@secretseal.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I do not care about that. Returning STATUS_PENDING from IRP_MJ_CREATE fits
into my driver architecture. That’s it. I know that file creation is always
synchronous.

Alexey Logachyov
xxxxx@vba.com.by
VirusBlokAda ltd.
http://www.vba.com.by

----- Original Message -----
From: “Nicholas Ryan”
To: “File Systems Developers”
Sent: Wednesday, January 16, 2002 7:46 PM
Subject: [ntfsd] RE: STATUS_PENDING

> Sure, but the I/O manager will then immediately perform a
> KeWaitForSingleObject on pIrp->UserEvent as soon as you return, so the
> originating user thread will be blocked until you actually complete the
> request. The I/O manager will do this for any user requests it considers
> ‘inherently synchronous’ - see p.659 of Nagar.
>
> - Nicholas Ryan
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com [mailto:bounce-ntfsd-
> > xxxxx@lists.osr.com] On Behalf Of Alexey Logachyov
> > Sent: Wednesday, January 16, 2002 4:22 AM
> > To: File Systems Developers
> > Subject: [ntfsd] STATUS_PENDING
> >
> > Can anyone reply a simple question? Can I return STATUS_PENDING from
> > IRP_MJ_CREATE?
> >
> > Alexey Logachyov
> > xxxxx@vba.com.by
> > VirusBlokAda ltd.
> > http://www.vba.com.by
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@secretseal.com
> > To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com