Multiple IRP_MJ_CLOSE...

Hi,
My Driver receives multiple IRP_MJ_CLOSE on some occasions. Here’s what I
did, I open 2 instances of a program that does CreateFile on my driver and
when I kill one instance, I get IRP_MJ_CLOSE for both my programs. Any
ideas on what I might be doing wrong?

Mayank

are both closes for the same file object?

-p

-----Original Message-----
From: Mayank Ajmera [mailto:xxxxx@yahoo.com]
Sent: Wednesday, November 13, 2002 8:20 AM
To: NT Developers Interest List
Subject: [ntdev] Multiple IRP_MJ_CLOSE…

Hi,
My Driver receives multiple IRP_MJ_CLOSE on some occasions. Here’s what
I did, I open 2 instances of a program that does CreateFile on my driver
and when I kill one instance, I get IRP_MJ_CLOSE for both my programs.
Any ideas on what I might be doing wrong?

Mayank


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

No, both the closes are for the different file objects (corresponding to
the 2 opens)