Re: Sort-of-Newbie Question(s)




<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 -




.



Relevant Pages

  • Re: STOP 7E on bootup/startup of Windows XP Home
    ... I have a Windows XP Home box that had a STOP 7E message on the screen ... faulty device driver ... possible to get the machine running, even in Safe Mode, then it would ...
    (microsoft.public.windowsxp.general)
  • Re: Im right about Drivers?
    ... Windows XP SP2, Windows Server 2003 SP1 and Vista, if you need an earlier ... UMDF (the user mode WDF component) is supported for Windows XP ... KMDF, for instance blue screen install of XP and 2003. ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: i386: pata_cs5520 does not work
    ... Device driver platform lacks bus and class support for being resumed. ... Device driver pci0000:00 lacks bus and class support for being resumed. ...
    (Linux-Kernel)
  • Re: Where to get SDV
    ... SDV stands for Static Driver Verifier, this is an advanced tool that does ... Don Burn (MVP, Windows DDK) ... it now you need to get the WDK beta and install the WDK. ... I just finished downloading WDF, and installled it, but I still can't ...
    (microsoft.public.development.device.drivers)
  • Windows Device Driver Developer--Chelsio Communications
    ... we have a requirement of Windows Device Driver Developer for Chelsio ... and the drivers for both the TCP Chimney and the RDMA ... and device driver performance tuning are a must. ...
    (microsoft.public.development.device.drivers)