Everhart,Glenn From: Geir Magnusson [gmj@netaxis.com] Sent: Tuesday, May 05, 1998 6:58 AM To: KARTHIK; 'NT FORUM' Subject: Re: [ntdev] interrupts in user mode At 08:21 PM 5/4/98 -0000, KARTHIK wrote: >hi, > > Is it possible to handle an interrupt in user mode in NT ? ( if we dont care about latency!!). If yes can anyone give pointers on how to do it... > Funny you should ask... (something I was wondering about recently...) One way I found is to use a named event. Instead of explaining it here, take a look at http://www.vireo.com/tips/event.htm Note that they are always referring to their Driver::Works package for their event object, but you can do the same with PKEVENT pEvent = IoCreateSynchronizationEvent( ); then tuck this somewhere, like in the Device Extension.... I have not tested this very well yet, so YMMV. If anyone has any good reasons why one doesn't want to do this, I would just love to hear them... geir ------------------------------------------------------------------ Geir Magnusson gmj@netaxis.com To compress, just send a bitmask of the 1 bits. "Your decisions are brilliant!" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntdev-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]