Problem building WDM libraries with Win2000 (>= 2128) DDK

0 Likes

Problem:

When I rebuild the WDM lib, got following error:

C:\DriverWorks\source\kpnpdev.cpp(55) : error C2065:

'DO_POWER_NOOP' :

undeclared identifier

Resolution:

The latest wdm.h from the DDK for Windows 2000 RC2 does not define DO_POWER_NOOP.  The DDK for Windows 2000 RC1 and earlier and the Windows 98 DDK defines DO_POWER_NOOP.  Micorsoft has decided to eliminate it for Windows 2000 WDM drivers.  This flag only applies for devices that are not supporting power management.  If your driver will implement power management, it is safe to comment out this flag in the library source code.  The next beta for DriverWorks will address this.

Old KB# 12113
Comment List
Anonymous
Related Discussions
Recommended