[wdmaudiodev] Re: Running wdm drivers on win 7 built on win 8.1

  • From: Parinitha Kashyap <parinitha.kashyap@xxxxxxxxx>
  • To: wdmaudiodev <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 18 Sep 2015 12:13:07 -0700

Thank you for your help. How have you used inf2cat and signtool in the
sample driver sysvad? Is it included in the project settings or you have a
separate script for that?

*Warm regards,*
Parinitha Kashyap

On Thu, Sep 17, 2015 at 9:40 AM, Tim Roberts <timr@xxxxxxxxx> wrote:

Parinitha Kashyap wrote:
I cannot actually build them all from the same code. I have to comment
out the new interface to build on win 7 config. Its just more easier
to have a single package.

Sure you can. You do it exactly the way the DDK header files do it.

#if NTDDI_VERSION >= NTDDI_WIN8
... code that requires Win8 ...
#endif

Indeed, the hackery I was suggesting was to build for Win 7 and do this:
#undef NTDDI_VERSION
#define NTDDI_VERSION NTDDK_WIN8
before you include the audio headers.

--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/


Other related posts: