Koll, Rob wrote:
I am quite new to driver development. As starting point I use the MSDN
sysvad source code.
First of all, I noted that when building with MSVC professional 2015
update 2 there are issues around the inline use of new and delete
operators. I solved that by copying stdunk.h into my project, removing
the inline code and providing a stdunk.cpp with the now missing
implementations. Please let me know if this is a known issue, and
whether or not my approach is correct.
After building the sysvad example (on a Win7 machine) I can deploy it
onto a Win 10 target machine. I can see the new device and audio end
points. I can select the sysvad Wave Speaker as default device. Upon
playing music with media player a file is created and written into the
C:\ directory. The volume indicator in the Playback Devices box goes
halfway, and falls back to zero upon ending the playback.
My assumption is that I should be able to instantiate the pin using Ks
Studio (where all devices and end points are visible). The pin
creation fails, with a message indicating that KsCreatePin fails.
There are different codes, depending on how I exactly instantiate the pin.