http://bugs.winehq.org/show_bug.cgi?id=13858
--- Comment #4 from David Ronis david.ronis@mcgill.ca 2008-06-12 21:29:50 --- You wote that DEVINST is declared in cfgmgr32.h, with no tricky includes or whatnot to trip it up: typedef DWORD DEVINST, *PDEVINST;
When I looked, in the include/cfgmgr32.h file I had there was no such typedef. So, I decided to purge the wine tree and restart from scratch (via cvs). This time it built without problem. The resulting wine works. My suspicion is that there was some sort of issue with cvs not upgrading some file(s) properly. (I've had this happen in the past). What's interesting is that I don't see this happening on several other projects I follow (again by CVS). The worst I get in these are merge failures resulting in weird >>>>>>> <<<<< constructs in the affected files. These are easy to spot, purge and reload.
Anyhow thanks for your help.