Can I check the status of an IRP?

Is there any way that I can know of the status of a given IRP? For example,
is it completed or canceled?

Thanks

AH


Getting married? Find great tips, tools and the latest trends at MSN Life
Events. http://lifeevents.msn.com/category.aspx?cid=married

There are some structures in an Irp to flag the status,
why don’t you look up the definition of IRP in DDK or MSDN?
I think you can find answer:)
good luck:)

“Ta H.” дÈëÓʼþ news:xxxxx@ntdev…
>
> Is there any way that I can know of the status of a given IRP? For
example,
> is it completed or canceled?
>
> Thanks
>
> AH
>
> _________________________________________________________________
> Getting married? Find great tips, tools and the latest trends at MSN Life
> Events. http://lifeevents.msn.com/category.aspx?cid=married
>
>

If this is while debugging and you are using WinDbg - the !irp extension
displays information about an IRP.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Zhang Chong
Sent: Wednesday, June 23, 2004 7:22 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Can I check the status of an IRP?

There are some structures in an Irp to flag the status,
why don’t you look up the definition of IRP in DDK or MSDN?
I think you can find answer:)
good luck:)

“Ta H.” д???ʼ? news:xxxxx@ntdev…
>
> Is there any way that I can know of the status of a given IRP? For
example,
> is it completed or canceled?
>
> Thanks
>
> AH
>
> _________________________________________________________________
> Getting married? Find great tips, tools and the latest trends at MSN
> Life Events. http://lifeevents.msn.com/category.aspx?cid=married
>
>


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

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

Simple rule … if you can deref an IRP (IRP->Cancel), and not crash the
system, it ain’t completed. If you expect to do something with an IRP after
you return from your dispatch routine, you MUST set a completion or cancel
routine. You always check for Cancel when you get an IRP or look at an IRP.
When your cancel or completion routine is called, the IRP may be in the
process of being completed but it has not been deallocated.


Gary G. Little
Seagate Technologies, LLC

“Girish Kulkarni (kulkis)” wrote in message
news:xxxxx@ntdev…
If this is while debugging and you are using WinDbg - the !irp extension
displays information about an IRP.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Zhang Chong
Sent: Wednesday, June 23, 2004 7:22 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Can I check the status of an IRP?

There are some structures in an Irp to flag the status,
why don’t you look up the definition of IRP in DDK or MSDN?
I think you can find answer:)
good luck:)

“Ta H.” дÈëÓʼþ news:xxxxx@ntdev…
>
> Is there any way that I can know of the status of a given IRP? For
example,
> is it completed or canceled?
>
> Thanks
>
> AH
>
> _________________________________________________________________
> Getting married? Find great tips, tools and the latest trends at MSN
> Life Events. http://lifeevents.msn.com/category.aspx?cid=married
>
>


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

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