Lines Matching refs:osver
118 OSVERSIONINFO osver; in curlx_verify_windows_version() local
120 memset(&osver, 0, sizeof(osver)); in curlx_verify_windows_version()
121 osver.dwOSVersionInfoSize = sizeof(osver); in curlx_verify_windows_version()
124 if(GetVersionEx(&osver)) { in curlx_verify_windows_version()
128 if(osver.dwMajorVersion < majorVersion || in curlx_verify_windows_version()
129 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
130 osver.dwMinorVersion < minorVersion) || in curlx_verify_windows_version()
132 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
133 osver.dwMinorVersion == minorVersion && in curlx_verify_windows_version()
134 osver.dwBuildNumber < buildVersion))) in curlx_verify_windows_version()
139 if(osver.dwMajorVersion < majorVersion || in curlx_verify_windows_version()
140 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
141 osver.dwMinorVersion < minorVersion) || in curlx_verify_windows_version()
142 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
143 osver.dwMinorVersion == minorVersion && in curlx_verify_windows_version()
145 osver.dwBuildNumber <= buildVersion))) in curlx_verify_windows_version()
150 if(osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
151 osver.dwMinorVersion == minorVersion && in curlx_verify_windows_version()
153 osver.dwBuildNumber == buildVersion)) in curlx_verify_windows_version()
158 if(osver.dwMajorVersion > majorVersion || in curlx_verify_windows_version()
159 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
160 osver.dwMinorVersion > minorVersion) || in curlx_verify_windows_version()
161 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
162 osver.dwMinorVersion == minorVersion && in curlx_verify_windows_version()
164 osver.dwBuildNumber >= buildVersion))) in curlx_verify_windows_version()
169 if(osver.dwMajorVersion > majorVersion || in curlx_verify_windows_version()
170 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
171 osver.dwMinorVersion > minorVersion) || in curlx_verify_windows_version()
173 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
174 osver.dwMinorVersion == minorVersion && in curlx_verify_windows_version()
175 osver.dwBuildNumber > buildVersion))) in curlx_verify_windows_version()
184 if(osver.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS) in curlx_verify_windows_version()
189 if(osver.dwPlatformId != VER_PLATFORM_WIN32_NT) in curlx_verify_windows_version()
200 struct OUR_OSVERSIONINFOEXW osver; in curlx_verify_windows_version() local
265 memset(&osver, 0, sizeof(osver)); in curlx_verify_windows_version()
266 osver.dwOSVersionInfoSize = sizeof(osver); in curlx_verify_windows_version()
267 osver.dwMajorVersion = majorVersion; in curlx_verify_windows_version()
268 osver.dwMinorVersion = minorVersion; in curlx_verify_windows_version()
269 osver.dwBuildNumber = buildVersion; in curlx_verify_windows_version()
271 osver.dwPlatformId = VER_PLATFORM_WIN32_WINDOWS; in curlx_verify_windows_version()
273 osver.dwPlatformId = VER_PLATFORM_WIN32_NT; in curlx_verify_windows_version()
291 matched = !pRtlVerifyVersionInfo(&osver, dwTypeMask, cm); in curlx_verify_windows_version()
293 matched = !!VerifyVersionInfoW((OSVERSIONINFOEXW *)&osver, dwTypeMask, cm); in curlx_verify_windows_version()
310 matched = !pRtlVerifyVersionInfo(&osver, dwTypeMask, cm); in curlx_verify_windows_version()
312 matched = !!VerifyVersionInfoW((OSVERSIONINFOEXW *)&osver, in curlx_verify_windows_version()