src/win/iupwin_info.c
static BOOL winCheckWindowsVersion(DWORD major, DWORD minor) 
{
  OSVERSIONINFOEX osvi;
  DWORDLONG dwlConditionMask = 0;

  ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
  osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
  osvi.dwMajorVersion = major;
  osvi.dwMinorVersion = minor;

  VER_SET_CONDITION(dwlConditionMask, VER_MAJORVERSION, VER_GREATER_EQUAL);
  VER_SET_CONDITION(dwlConditionMask, VER_MINORVERSION, VER_GREATER_EQUAL);

  return VerifyVersionInfo(&osvi, VER_MAJORVERSION|VER_MINORVERSION, dwlConditionMask);
}
/* other method, when replaced should do it in CD also (cdwinp.cpp) */
other method, when replaced should do it in CD also (cdwinp.cpp)
other method when replaced should do it in CD also ( cdwinp . cpp )
static BOOL winCheckWindowsVersion(DWORD major, DWORD minor) 
{
  OSVERSIONINFOEX osvi;
  DWORDLONG dwlConditionMask = 0;
  ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
  osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
  osvi.dwMajorVersion = major;
  osvi.dwMinorVersion = minor;
  VER_SET_CONDITION(dwlConditionMask, VER_MAJORVERSION, VER_GREATER_EQUAL);
  VER_SET_CONDITION(dwlConditionMask, VER_MINORVERSION, VER_GREATER_EQUAL);
  return VerifyVersionInfo(&osvi, VER_MAJORVERSION|VER_MINORVERSION, dwlConditionMask);
}
static BOOL winCheckWindowsVersion ( DWORD major , DWORD minor ) { OSVERSIONINFOEX osvi ; DWORDLONG dwlConditionMask = 0 ; ZeroMemory ( & osvi , sizeof ( OSVERSIONINFOEX ) ) ; osvi . dwOSVersionInfoSize = sizeof ( OSVERSIONINFOEX ) ; osvi . dwMajorVersion = major ; osvi . dwMinorVersion = minor ; VER_SET_CONDITION ( dwlConditionMask , VER_MAJORVERSION , VER_GREATER_EQUAL ) ; VER_SET_CONDITION ( dwlConditionMask , VER_MINORVERSION , VER_GREATER_EQUAL ) ; return VerifyVersionInfo ( & osvi , VER_MAJORVERSION | VER_MINORVERSION , dwlConditionMask ) ; }
other method, when replaced should do it in CD also (cdwinp.cpp)
other method when replaced should do it in CD also ( cdwinp . cpp )