How can I notify user mode of custom data events?
- From: sinosoidal <sinosoidal@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 31 Jul 2009 06:53:02 -0700
Hi,
New questions are always arising in this adventure of kernel driver
programming.
I have already succeeded to retrieve data from a device driver which was
blocked by the HIDClass. My driver is based on the hidfx2usb sample.
I have created a raw pdo in order to have a sideband communication with the
driver and retrieve/set data and features.
However, I need a syncronized way of getting data from the device. From time
to time, my device as new data and I would like to subscribe some kind of
notification that new data has arrived and its in a complete form, to then be
copied to the user side application.
I could have a closed loop in a different thread always requesting data from
the device thru iocontrol operations, but... is this an efficient way of
doing it?
In the white paper "User Mode Interactions for Kernel Mode Drivers" is
refered something about syncronization and notification with shared events.
I would like to know if this is what I'm looking for, and if there is any
sample on the DDK that exemplifies the use of this features.
With my best regards,
Thanks,
Nuno
.
- Follow-Ups:
- Re: How can I notify user mode of custom data events?
- From: Maxim S. Shatskih
- Re: How can I notify user mode of custom data events?
- From: Don Burn
- Re: How can I notify user mode of custom data events?
- Prev by Date: Re: Is WdfDeviceCreateDeviceInterface enough to call device from U
- Next by Date: Re: How can I notify user mode of custom data events?
- Previous by thread: Touch Screen Calibration in Windows 7
- Next by thread: Re: How can I notify user mode of custom data events?
- Index(es):
Relevant Pages
|