A design problem related to drivers and/or application (single instance)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,

I am building a driver (lets name it A) which is to be used by different
applications. The design constraints are such that there will be only one
instance of A which will be accessed by all the applications using it and
this is the only reason because of which I am making it a kernel level
driver. From this A, I have to open another kernel level driver (lets name
it B) using CreateFile() and I have to send some IO controls to B using
DeviceIoControl(). Is it possible for me to open B from A if A it is a
kernel-mode driver? And if yes then can I use normal functions like
CreateFile() and DeviceIoControl() or do I have to rely on some other
functions?

If its not possible for a kernel level driver to open another kernel level
driver then is it possible that I could make A a user-mode driver instead of
kernel-mode driver? and if yes how can I do this?

If its not possible for me to develop A as a user-mode driver then what
other approaches I can use so that there will be only one instance of A that
will be used by all the client applications.

I am using WinXP.

Thanks,

Arsalan



.



Relevant Pages

  • Re: Device drivers in C#.NET
    ... CLR - maybe a special kernel level CLR. ... driver development. ...
    (microsoft.public.dotnet.general)
  • Re: Accuracy of NTP - Advice Needed
    ... the kernel level, rather ... than waiting for a driver to report that the ... A user land program waits for the flag. ... The next pulse over ...
    (comp.protocols.time.ntp)
  • Re: A design problem related to drivers and/or application (single instance)
    ... Depending on what you are doing, you can either create a user-mode DLL (with ... The driver will either need to use calls such as ZwCreateFile and ... kernel, where a single mistake will can wipe out the system. ... I have to open another kernel level driver (lets name ...
    (microsoft.public.development.device.drivers)
  • Re: open source windows
    ... >> different at the kernel level that it's hard to imagine a way to run ... >> drivers on Linux. ... > Windows(forget about driver) but I am quite familiar with Linux ... machine running Linux-2.4.20. ...
    (comp.os.linux.development.system)
  • Re: Cant print from Word 2008 (Excel prints OK)
    ... which can be found in the Utilities folder within the Applications folder. ... I am using the Gutenprint driver, because with the other driver none of ... Mac OS print preview, so I think my printer is printing me exactly what ... that it "couldn't communicate with the printer ... ...
    (microsoft.public.mac.office.word)