Would it not be simpler to just use ReadFile/WriteFile/DeviceIoControl? The
driver should STATUS_PEND any IRP that it cannot complete immediately. When
the IRP is completed, these functions return to that application. If you’re
using overlapped IO, then the event you define in the OVERLAPPED structure
is signaled, and your application acquires that signal via
GetOverlappedResult.
-----Original Message-----
From: Berto [mailto:xxxxx@wcscnet.com]
Sent: Monday, September 11, 2000 11:17 AM
To: NT Developers Interest List
Subject: [ntdev] Signalling an event from an
interrupt handler(SetEvent()?)
I have a pointer to an event in my driver. I need to set it
to allow a
Usermode thread to run. I thought I could call SetEvent()
from the interrupt
handler, however the DDK docs says it can only be set at
IRQL<=DISPATCH
level. Is there some other way to signal the event?
Thanks & Regards,
Berto
WCSC(Willies Computer Software Co)
http://www.wcscnet.com
Tel: (281)360-4232 Fax: (281)360-3231
You are currently subscribed to ntdev as:
xxxxx@delphieng.com
To unsubscribe send a blank email to
$subst(‘Email.Unsub’)