Searched refs:osvi (Results 1 – 8 of 8) sorted by relevance
73 OSVERSIONINFO osvi; in IsWindowsVersion() local74 osvi.dwOSVersionInfoSize = sizeof(osvi); in IsWindowsVersion()76 if(!GetVersionEx(&osvi)) in IsWindowsVersion()96 OSVERSIONINFO osvi; in IsWindowsVistaOrNewer() local97 osvi.dwOSVersionInfoSize = sizeof(osvi); in IsWindowsVistaOrNewer()99 if(!GetVersionEx(&osvi)) in IsWindowsVistaOrNewer()103 (osvi.dwMajorVersion >= 6); in IsWindowsVistaOrNewer()176 OSVERSIONINFO osvi; in IsWindows2000Platform() local177 ZeroMemory(&osvi, sizeof(osvi)); in IsWindows2000Platform()178 osvi.dwOSVersionInfoSize = sizeof(osvi); in IsWindows2000Platform()[all …]
31 OSVERSIONINFO osvi; in IsXPOrLater() local33 ZeroMemory(&osvi, sizeof(OSVERSIONINFO)); in IsXPOrLater()35 osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); in IsXPOrLater()37 GetVersionEx(&osvi); in IsXPOrLater()38 return ((osvi.dwMajorVersion > 5) || in IsXPOrLater()39 ((osvi.dwMajorVersion == 5) && (osvi.dwMinorVersion >= 1))); in IsXPOrLater()
93 OSVERSIONINFO osvi; in is_windows_xp_or_above() local94 ZeroMemory(&osvi, sizeof(osvi)); in is_windows_xp_or_above()95 osvi.dwOSVersionInfoSize = sizeof(osvi); in is_windows_xp_or_above()96 GetVersionEx(&osvi); in is_windows_xp_or_above()99 if (osvi.dwMajorVersion > 5 || in is_windows_xp_or_above()100 (5 == osvi.dwMajorVersion && osvi.dwMinorVersion >= 1)) in is_windows_xp_or_above()
45 OSVERSIONINFO osvi; in isVista() local46 ZeroMemory(&osvi, sizeof(OSVERSIONINFO)); in isVista()47 osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); in isVista()48 GetVersionEx(&osvi); in isVista()49 return osvi.dwMajorVersion >= 6; in isVista()
52 OSVERSIONINFOEX osvi; in IsWin2000() local56 osvi.dwOSVersionInfoSize = sizeof( OSVERSIONINFOEX ); in IsWin2000()57 bOsVersionInfoEx = GetVersionEx( ( OSVERSIONINFO* )&osvi ); in IsWin2000()61 osvi.dwOSVersionInfoSize = sizeof( OSVERSIONINFO ); in IsWin2000()62 if( !GetVersionEx( ( OSVERSIONINFO* )&osvi ) ) in IsWin2000()66 if( ( VER_PLATFORM_WIN32_NT == osvi.dwPlatformId ) && ( osvi.dwMajorVersion >= 5 ) ) in IsWin2000()
77 OSVERSIONINFO osvi; in IsWindowsXP() local78 ZeroMemory(&osvi, sizeof(osvi)); in IsWindowsXP()79 osvi.dwOSVersionInfoSize = sizeof(osvi); in IsWindowsXP()80 GetVersionEx(&osvi); in IsWindowsXP()82 return ((osvi.dwPlatformId == VER_PLATFORM_WIN32_NT) && in IsWindowsXP()83 ((osvi.dwMajorVersion >= 5) && (osvi.dwMinorVersion >= 1))); in IsWindowsXP()
78 OSVERSIONINFO osvi; in isWindowsVistaOrHigher() local79 ZeroMemory(&osvi, sizeof(osvi)); in isWindowsVistaOrHigher()80 osvi.dwOSVersionInfoSize = sizeof(osvi); in isWindowsVistaOrHigher()81 GetVersionEx(&osvi); in isWindowsVistaOrHigher()82 return osvi.dwMajorVersion >= 6; in isWindowsVistaOrHigher()
1148 - OSVERSIONINFOA osvi = {0};1149 + OSVERSIONINFOA osvi;1150 osvi.dwOSVersionInfoSize = sizeof(osvi);1151 GetVersionExA((OSVERSIONINFOA*)&osvi);1152 return (VER_PLATFORM_WIN32_NT == osvi.dwPlatformId);
Completed in 59 milliseconds