MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Is64BitWindows

Method Is64BitWindows

cpp/iedriver/RegistryUtilities.cpp:153–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153bool RegistryUtilities::Is64BitWindows() {
154 SYSTEM_INFO system_info;
155 ::GetNativeSystemInfo(&system_info);
156 if (system_info.wProcessorArchitecture == 0) {
157 // wProcessorArchitecture == 0 means processor architecture
158 // is "x86", and therefore 32-bit. Note that we don't check
159 // for specific processor flavors because we don't support
160 // the driver running on any architecture other than x86 or
161 // x64 (AMD or Intel).
162 return false;
163 }
164 return true;
165}
166
167} // namespace webdriver

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected