On Wed, Mar 19, 2008 at 2:02 AM, John Klehm xixsimplicityxix@gmail.com wrote:
On Wed, Mar 19, 2008 at 1:31 AM, Chris Teague chris.teague@gmail.com wrote:
This is probably trivial, but I'm having a tough time figuring out the current version of Windows that Wine is mimicking. I have a situation where I need to behave differently if the version is NT (0x0500) versus when it is XP (0x0600). I see the WINVER #define, but that doesn't seem right to me since this must be a runtime variable. Can someone point me at an example of how to tell what the current version of Windows is? Thanks, Chris
http://wiki.winehq.org/UsefulRegistryKeys
Search for Version
More direct perhaps http://source.winehq.org/git/wine.git/?a=blobdiff;f=tools/wine.inf;h=97a7735...