build failure due to DbgPrintEx()? any good idea to this stupid on

Discussion in 'Windows Vista Drivers' started by Samuel H., Apr 9, 2007.

  1. Samuel H.

    Samuel H. Guest

    Hi guys,

    I try to migrate my WDM driver working in XP to Vista, and the very first
    thing of all is to replace the DbgPrint() with DbgPrintEx() (See "The
    DbgPrint Buffer and the Debugger" in WDK help).
    My question is what I shall do to use DbgPrintEx() exported from ntddk.h
    without conflicts to wdm.h which has already included for this WDM driver.

    Thank you.
    Samuel H., Apr 9, 2007
    1. Advertisements

  2. Samuel H.

    Don Burn Guest

    In the WDK wdm.h is included in ntddk.h which is included in ntifs.h. So
    if you want to do this, just replace wdm.h with ntddk.h.

    Don Burn (MVP, Windows DDK)
    Windows 2k/XP/2k3 Filesystem and Driver Consulting
    Remove StopSpam to reply
    Don Burn, Apr 9, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.