correct way to get windows version

michael cardenas michael.cardenas at
Sun Mar 17 13:42:54 CST 2002

What's the correct way to determine the current windows version wine is using 
from advapi32.dll?

I looked through the list archives and in the documentation and I found 
VERSION_GetVersion(), but if I use that advapi32 won't compile. 

I'm preparing my patches for aol7, but I know that one of them is specific to 
windows95, and it won't be accepted if I don't put the version check in. 

More information about the wine-devel mailing list