OSVERSIONINFO verInfo = { 0 };
verInfo.dwOSVersionInfoSize = sizeof(verInfo);
GetVersionEx(&verInfo);
if (verInfo.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
//
// Since this application can heavily stress system resources
// we decided to limit running it on NT.
//
myprintf("Please run %s only on NT, thank you\n", argv[0]);
return(0);
}