Re: Sort-of-Newbie Question(s)
- From: "Gianluca Varenni" <gianluca.varenni@xxxxxxxxxxxx>
- Date: Wed, 14 Mar 2007 08:52:57 -0700
<0dbell@xxxxxxxxx> wrote in message
news:1173885322.259621.129790@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Bob, thank you for your tip.
I infer from your answer that yes - what I briefly described as the
task at hand belong to the device driver development realm, not win32
API (user mode) programming. Am I correct?
I also managed to find out that there is a actually a new device
driver model introduced with Vista (WDF), but if I want my device
driver to be backward compatible with Windows XP and Windows 2000, I
will need to go with WDM (which is still supported by Vista). Am I
correct?
WDF works from Windows 2000 on. I'm not an audio driver expert, but I think
you can definitely use WDF to develop your driver. That's actually the
suggested way to develop new drivers.
Actually KMDF is probably the right term instead of WDF. If I remember well
WDF was the original name of the framework. It changed to KMDF but the APIs
are still called Kdf<something>.
I also found the latest WDK from microsoft available for download
http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx
But I am not sure whether:
1. Will it force me to use WDF instead of WDM? Does it support WDM,
despite it being the latest & greatest?
The newest WDK allows you to compile both KMDF(WDF) drivers and WDM drivers.
2. Can I use Visual C++ Express Edition to develop a device driver
using this WDK? Or must I purchase a more expensive version of Visual C
++?
You don't actually need any compiler/IDE. The WDK includes all that it's
needed to compile your driver. You can use VC Express as your editor, but
the compilation is done within the WDF environment with its own compiler.
Have a nice day
GV
Thanks,
Don
On Mar 14, 8:44 am, BobF <rNfOrSePeA...@xxxxxxxxxxx> wrote:
Check out the msvad sample in the current driver kits
On 13 Mar 2007 20:39:54 -0700, 0db...@xxxxxxxxx wrote:
Greetings!
I have written once a communication device driver for Windows 95, then
Windows 2000 many years ago... then life took me to higher level
programming and I completely forgot about writing device drivers.
Now, life takes me back to what seems to be a need to implement a
device driver - this time for Windows XP and Vista.
So, my first question (before starting to look for the right source of
literature, development kits etc.) is: is the driver model for XP/
Vista still WDM (as introduced in Windows 98/2000)?
Now... I am not really sure I must implement the virtual audio device
that is needed for the system as device driver. My goal is to create
an audio device that is available to other applications in the system
(just like the default ones) - an audio device that is not really tied
to hardware but takes its input from an incoming data stream and
outputs it to a buffer that is read by another application.
Thus, I am wondering: can this be accomplished only by writing a
device driver? Or can this be done using user-mode Win32 API?
If indeed I arrived to the right group (meaning this is a classic
device driver task) could you please give me a hint or a tip what to
look for when searching for a tutorial or even a sample for creating
such a (virtual?) audio device?
Thanks in advance,
Don- Hide quoted text -
- Show quoted text -
.
- References:
- Sort-of-Newbie Question(s)
- From: 0dbell
- Re: Sort-of-Newbie Question(s)
- From: BobF
- Re: Sort-of-Newbie Question(s)
- From: 0dbell
- Sort-of-Newbie Question(s)
- Prev by Date: Re: Sort-of-Newbie Question(s)
- Next by Date: Re: DTM Copy Files task fails
- Previous by thread: Re: Sort-of-Newbie Question(s)
- Next by thread: Re: Sort-of-Newbie Question(s)
- Index(es):
Relevant Pages
|