Dave's Brain

Browse - programming tips - windows 95 or nt

Title: Win32: Its Windows 95 or NT?
Date: 1997dec16

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:

BOOL IsWindowsNT()
{
	return ::GetVersion() < 0x80000000;
}
  

Add a comment

Sign in to add a comment
Copyright © 2008, dave - Code on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License.