dwOSType = OS_WIN98;
ulOSType |= OS_WIN98;
void DetermineOSVersion(){  DWORD         dwVersion;  DWORD         dwWindowsMajorVersion;  DWORD         dwWindowsMinorVersion;  DWORD         dwWindowsVersion;  BOOL          bIsWin95Debute;  char          szESetupRequirement[MAX_BUF];  dwVersion       = GetVersion();  bIsWin95Debute  = IsWin95Debute();  // Get major and minor version numbers of Windows  dwWindowsMajorVersion =  (DWORD)(LOBYTE(LOWORD(dwVersion)));  dwWindowsMinorVersion =  (DWORD)(HIBYTE(LOWORD(dwVersion)));  dwWindowsVersion      =  (DWORD)(HIWORD(dwVersion));  // Get build numbers for Windows NT or Win95/Win98  if(dwVersion < 0x80000000) // Windows NT  {    if(dwWindowsMajorVersion == 3)      dwOSType = OS_NT3;    else      dwOSType = OS_NT4;  }  else if(dwWindowsMajorVersion == 4)  {    if(dwWindowsMinorVersion == 0)    {      dwOSType |= OS_WIN95;      if(bIsWin95Debute)        dwOSType |= OS_WIN95_DEBUTE;    }    else      dwOSType = OS_WIN98;  }  else  {    if(NS_LoadString(hInst, IDS_ERROR_SETUP_REQUIREMENT, szESetupRequirement, MAX_BUF) == WIZ_OK)      PrintError(szESetupRequirement, ERROR_CODE_HIDE);    exit(1);  }}