http://support.microsoft.com/support/kb/articles/q228/7/85.asp
-----Original Message-----
From: Gary G. Little [mailto:xxxxx@inland.net]
Sent: Monday, May 28, 2001 8:41 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Communication between user mode and kernel mode
You needn’t worry about events. You simply send the driver an IRP using
ReadFile, WriteFile, or define a control code for DeviceIoControl. The
driver either completes the IRP and returns it, or marks it as pending
and completes it when the IO associated with the IPR has completed. Your
application can block, waiting for the IRP to complete, or use
GetOverlappedResult to wait for the pending IRP. The latter assumes that
you told CreateFile to use OVERLAPPED IO.
Basically, what you want to do is how the system works.
Gary
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Michael Zhu
Sent: Monday, May 28, 2001 7:41 AM
To: NT Developers Interest List
Subject: [ntdev] Communication between user mode and kernel mode
Hello,everyone, now I have a question. I want to create an event to
communicate with my WDM driver.
I want to create this event in my application which is running in user
mode. In my application
I want to use WaitForSingleObject() function to wait for the event to be
signaled. I hope that
this event can be signaled in my WDM driver. But how can I do this? How
can I let the WDM driver
to signal the event in order to let the application continue to run?
I want to implement this kind of communication. Is my idea right?
Thank you very much.
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
b嫐.Ф\??辷?底痡?娵ey鸿i?⒎(?.炈洷殊m?澲洉╀zf?y炞^縹w?b槽(卜(
???y˫???+.n?+???u?ڲ˛??^r*D???kN???r??zǧu??jy???^j???ׯ??? 0?j?b??(??(