Signalling User mode app from kernel mode

hi,
i want to signal a user mode app by the kernel mode driver. what mechanisms
exist for this ?

thank you.

kre.


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

Hi,

You can create an event in the user mode app. and pass the handle of the
event to the driver say by a simple IOCTL call. When the kernel mode code
has the user mode handle of the event, the kernel mode code can call the
ObReferenceObjectByHandle passing the user mode handle of the event to get
access to the event body i.e. a PKEVENT. Once the call is successful, you
can use the KeSetEvent and KeResetEvent for that event.

Regards.


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