Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > What is KMDF_VERSION_MAJOR actually for?

Reply
Thread Tools Display Modes

What is KMDF_VERSION_MAJOR actually for?

 
 
Leafbanana
Guest
Posts: n/a

 
      05-17-2010
Hi guys,

As you possibly know, a WDM driver, either using Windows2K3 DDK or Windows7
WDK, can be perfectly implemented as a VC6 or VS2005/2008 project, without
including the makefile. The project is quite like a standard DLL and you just
need to set the correct directories and some settings of the project.

But things changed in KMDF. As per the document, the macro called
KMDF_VERSION_MAJOR must be set in the Sources file to make sure the driver is
linked to correct KMDF libraries by build utility. As a result, a KMDF driver
can no longer be implemented as a VC6 or VS2005/2008 project without the
makefile. The problem is, where to place the macro?!

I know there are some tools that help building driver in VS, such as
DDKWizard and DdkBuild. But neither of them can build a non-makefile driver.

If my understanding is correct, anybody can tell me why to bring in such a
annoying KMDF_VERSION_MAJOR?

If I'm wrong, anybody tell me how to create a non-makefile project in VC or
VS to implemente a KMDF-based driver? I've been searching for the solution
for a long time.

Appreciate for any reply.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59