Tim nailed it. WDM is a subset of the NT driver model as snapshotted by win9x releases over time, ending with WinME. Since win9x is no longer supported or released, the idea of WDM in terms of cross OS compat is no longer relevant. What remains of WDM is the name and the overall model, even if it is only supported by one OS family. WDM itself in terms of APIs has grown, but wdm.lib has not kept pace b/c it still matches the win9x subset of WDM. Any driver which targets win2k and beyond should really just link against ntoskrnl.lib
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Monday, April 28, 2008 10:31 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Unresolved extrenal when trying to use DbgPrintEx()
Doron:
This is not something that I would have considered, because it seems like DbgPrintEx() is a core function and would be exposed in
wdm.lib as well, but then again I also don’t use WDM, so maybe I’m missing something. Why is it not exposed? Inquiring minds want
to know.
Thanks,
mm
Doron Holan wrote:
Link against ntoskrnl.lib, not wdm.lib (by removing DRIVERTYPE=wdm in your sources). DbgPrintEx is not a WDM function.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of FarmerJo
Sent: Monday, April 28, 2008 8:28 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Unresolved extrenal when trying to use DbgPrintEx()
Hi,
Has anyone got DbgPrintEx() to work for DDK 6001.18000 when using a Windows
XP PC?
Regards FarmerJo
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer