Changeset 75812 in vbox
- Timestamp:
- Nov 29, 2018 12:57:29 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127015
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp
r73097 r75812 375 375 * @param pPackage Pointer to a VBOXSTUBPKG struct that contains the resource. 376 376 * @param pszTempFile The full file path + name to extract the resource to. 377 *378 377 */ 379 378 static int Extract(const PVBOXSTUBPKG pPackage, … … 388 387 * 389 388 * @returns TRUE if we're running on a 64-bit OS, FALSE if not. 390 *391 389 */ 392 390 static BOOL IsWow64(void) 393 391 { 394 BOOL bIsWow64 = TRUE;392 BOOL fIsWow64 = TRUE; 395 393 fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle(TEXT("kernel32")), "IsWow64Process"); 396 394 if (NULL != fnIsWow64Process) 397 395 { 398 if (!fnIsWow64Process(GetCurrentProcess(), & bIsWow64))396 if (!fnIsWow64Process(GetCurrentProcess(), &fIsWow64)) 399 397 { 400 398 /* Error in retrieving process type - assume that we're running on 32bit. */ … … 402 400 } 403 401 } 404 return bIsWow64;402 return fIsWow64; 405 403 } 406 404 … … 412 410 * 413 411 * @param pPackage Pointer to a VBOXSTUBPKG struct that contains the resource. 414 *415 412 */ 416 413 static bool PackageIsNeeded(PVBOXSTUBPKG pPackage) … … 1087 1084 } 1088 1085 1086 /* 1087 * 32-bit is not officially supported any more. 1088 */ 1089 if ( !fExtractOnly 1090 && !g_fSilent 1091 && !IsWow64()) 1092 { 1093 rcExit = ShowError("32-bit Windows hosts are not supported by this VirtualBox release."); 1094 vrc = VERR_NOT_SUPPORTED; 1095 } 1096 1089 1097 if (RT_SUCCESS(vrc)) 1090 1098 {
Note:
See TracChangeset
for help on using the changeset viewer.