Searched refs:osInfo (Results 1 – 3 of 3) sorted by relevance
137 OSVERSIONINFOEX osInfo; in getOSInfo() local139 deMemset(&osInfo, 0, sizeof(osInfo)); in getOSInfo()140 osInfo.dwOSVersionInfoSize = (DWORD)sizeof(osInfo); in getOSInfo()142 GetVersionEx((OSVERSIONINFO*)&osInfo); in getOSInfo()145 const char* const productName = getProductTypeName(osInfo.wProductType); in getOSInfo()150 dst << "unknown product " << tcu::toHex(osInfo.wProductType); in getOSInfo()153 dst << " " << osInfo.dwMajorVersion << "." << osInfo.dwMinorVersion in getOSInfo()154 << ", service pack " << osInfo.wServicePackMajor << "." << osInfo.wServicePackMinor in getOSInfo()155 << ", build " << osInfo.dwBuildNumber; in getOSInfo()
1180 OSVERSIONINFO osInfo; in ServiceSpecificInitialize() local1206 osInfo.dwOSVersionInfoSize = sizeof( OSVERSIONINFO ); in ServiceSpecificInitialize()1207 ok = GetVersionEx( &osInfo ); in ServiceSpecificInitialize()1210 gOSMajorVersion = osInfo.dwMajorVersion; in ServiceSpecificInitialize()1211 gOSMinorVersion = osInfo.dwMinorVersion; in ServiceSpecificInitialize()
4238 OSVERSIONINFO osInfo; in GetWindowsVersionString() local4248 osInfo.dwOSVersionInfoSize = sizeof( OSVERSIONINFO ); in GetWindowsVersionString()4249 ok = GetVersionEx( &osInfo ); in GetWindowsVersionString()4253 platformID = osInfo.dwPlatformId; in GetWindowsVersionString()4254 majorVersion = osInfo.dwMajorVersion; in GetWindowsVersionString()4255 minorVersion = osInfo.dwMinorVersion; in GetWindowsVersionString()4256 buildNumber = osInfo.dwBuildNumber & 0xFFFF; in GetWindowsVersionString()