A design problem related to drivers and/or application (single instance)
- From: "Arsalan Ahmad" <arsal__@xxxxxxxxxxx>
- Date: Wed, 9 Nov 2005 13:55:51 +0100
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
.
- Follow-Ups:
- Re: A design problem related to drivers and/or application (single instance)
- From: Maxim S. Shatskih
- Re: A design problem related to drivers and/or application (single instance)
- From: Don Burn
- Re: A design problem related to drivers and/or application (single instance)
- Prev by Date: Re: What's wrong with IOCTL_SERIAL_WAIT_ON_MASK?
- Next by Date: Re: A design problem related to drivers and/or application (single instance)
- Previous by thread: Re: What's wrong with IOCTL_SERIAL_WAIT_ON_MASK?
- Next by thread: Re: A design problem related to drivers and/or application (single instance)
- Index(es):
Relevant Pages
|