Re: Driver - Application communication by Steve
Steve
Mon Sep 01 05:47:39 CDT 2003
Note that in Windows CE the driver runs in the device.exe process
and thus you cannot just callback from that process to your
application process.
Instead, have a named event created with CreateEvent used by
both the driver and the application. When the driver has data
that the application wants, the driver signal the event. The
application always waits for this event, and once it signals,
the application calls some special IOCTL to get the data it
needs.
"Ajith" <kpajithkp@hotmail.com> wrote
> hi ,
> How can I register a callback in application which is to be called from a
> driver (for eg: serial driver) ?
> Please help me...
> regards
> Ajith
>
>