Seem strange to me that you get IRP_MJ_DEVICE_CONTROL from an app at
DISPATCH_LEVEL! Are you sure you don’t acquire any spinlocks prior to work
with the event handle?
Regards,
Vladimir
-----Original Message-----
From: Gu Mingming [mailto:xxxxx@chinaren.com]
Sent: Tuesday, February 13, 2001 12:53 AM
To: NT Developers Interest List
Subject: [ntdev] How to get PKEVENT type from a event HANDLE in driver code
Hi all,
I want to notify a user application some events in my driver code.
After reading DDK documents I think I should use KeSetEvent() somehow.
But the problem is the user level app pass a event handle it created to the
driver through a custom ioctl. It was called at DISPATCH_LEVEL. But
ObReferenceObjectByHandle() must be called at PASSIVE_LEVEL. If I call it
directly system will crash. How can i work around it?
Thanks,
gmm
b???.???????v??ׯj?B??!z???j?ڱ?(?.?˛???m??֛???zf???y?ޞ?^?m8
X???&
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com