BOOL IsWindowsNT() { return ::GetVersion() < 0x80000000; }
Programming Tips - Win32: How can I tell if my program is running on Windows 95 or NT?
Date: 1997dec16
Platform: win32
Q. Win32: How can I tell if my program is running on Windows 95 or NT?
A. Sometimes you have to know if you are running under
Windows 95 or Windows NT. The Microsoft example
code to do this is really huge. This is how I do it: