Re: IOCTL and name events stuff



On Jun 1, 7:49 am, Eran.Ya...@xxxxxxxxx wrote:
Hi all,

I need to write a GUI app which do the followings:
1. My app waits for events from other app(actually this is a network
adapter driver) running in kernel. The driver writes to file and
signal my app to read the file.
2. My app also need o communicate this the driver using IOCTL.

Can i do it in C#? can C# wait for events signaled from app written in
C\C++ app running in on kernel and sends messages to device using
IOCTL?

How complicated is it going to be? I'm quite noob in C# programming.
should I consider duing it in C|C++ which I am quite noob as well?

TIA,

Hi Eran,

I am not familiar with the device control API but I don't think there
should be a problem importing Device Control API in C# (As long as
it's used in user mode of course).

If you are familiar with the API, maybe this post can help you:
http://www.thescripts.com/forum/thread268027.html

By the way, you can also post your question at
microsoft.public.development.device.drivers newsgroup.

Hope this helps.
Cheers,
Moty

.



Relevant Pages

  • Re: SD card and File System in WinCE 5....?
    ... Because when unload/reload SD client driver, ... So if App is running,suspend and then resume the system, if we unload and ... App will pop a message to notify user that the SD card is removed. ...
    (microsoft.public.windowsce.platbuilder)
  • [RFC] dev_acpi: device driver for userspace access to ACPI
    ... The basic concept of operation is that the ioctl operates on the ACPI ... The sample, proof-of-concept app, is called acpitree. ... You can find the driver and sample app here: ...
    (Linux-Kernel)
  • Pended IOCtrl + LoadLibrary == Deadlock?
    ... multithreaded app running on XP communicating with a software only NT ... style driver. ... this ioctrl which then makes the thread run and the command be executed. ... intact) the LoadLib is happy. ...
    (microsoft.public.development.device.drivers)
  • Re: Generic battery interface
    ... interrupts caused by apps that track kernel-issued readouts (e.g., ... > when you have a readout that was received from the hardware at time ... At time T+600 the driver receives update events (yeah, ... If this is all that happens, ...
    (Linux-Kernel)
  • Re: How to send URB and IRP to user mode application?
    ... When your driver ... receives IOCTL1, it signals event1, marks IRP as pending, and returns ... App gets the ... raised, you will never enter the polling loop, in the first place). ...
    (microsoft.public.development.device.drivers)