Porting Drivers from XP to Vista

I need to analyze about 10 kernel mode drivers for HID devices that work on XP and figure out if they would work on Vista. If not what needs to change.

Its the equivalent of doing Application Compatability testing (ACT) for Device Drivers. There is no such tool though - but is there some process or approach that can be used to identify where incompatibilities are and fix those.

Also, is it possible that drivers created for XP using WDM or WDF can be installed on Vista without any changes and work.

They should work without modification, very little in the HID stack was changed for Vista. That does not mean you should not test on Vista though :wink:

d

Did you derive your driver from a Microsoft WDK (DDK) code sample?

Then check the code against the updated samples in the WDK.

A lot of cleanup was done (thanks, WDK team!), and some potential
problems corrected. (At least that’s what I have seen with the BulkUsb
WDM driver.)

Doing a code check now may save you a lot of debugging time later. :slight_smile:

-Hagen