Changeset 63091 in vbox for trunk/src/VBox
- Timestamp:
- Aug 6, 2016 3:09:17 PM (8 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/Loader/VBoxWindowsAdditions.cpp
r62679 r63091 22 22 * Header Files * 23 23 *********************************************************************************************************************************/ 24 #include <iprt/cdefs.h> 24 25 #include <iprt/win/windows.h> 25 26 #ifndef ERROR_ELEVATION_REQUIRED /* Windows Vista and later. */ … … 33 34 static BOOL IsWow64(void) 34 35 { 35 BOOL bIsWow64 = FALSE;36 BOOL fIsWow64 = FALSE; 36 37 typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS)(HANDLE, PBOOL); 37 38 LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle(L"kernel32"), "IsWow64Process"); 38 39 if (fnIsWow64Process != NULL) 39 40 { 40 if (!fnIsWow64Process(GetCurrentProcess(), & bIsWow64))41 if (!fnIsWow64Process(GetCurrentProcess(), &fIsWow64)) 41 42 { 42 43 fwprintf(stderr, L"ERROR: Could not determine process type!\n"); 43 44 44 45 /* Error in retrieving process type - assume that we're running on 32bit. */ 45 bIsWow64 = FALSE;46 } 47 } 48 return bIsWow64;46 fIsWow64 = FALSE; 47 } 48 } 49 return fIsWow64; 49 50 } 50 51 … … 114 115 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) 115 116 { 117 RT_NOREF(hInstance, hPrevInstance, lpCmdLine, nCmdShow); 118 116 119 /* 117 120 * Gather the parameters of the real installer program. -
trunk/src/VBox/Additions/WINNT/Installer/VBoxDrvInst.cpp
r63090 r63091 1263 1263 if (pbVal == NULL) /* By default interpret value as string */ 1264 1264 { 1265 pbVal = (BYTE *)argv[7];1266 dwValSize = _tcslen(argv[7]);1265 pbVal = (BYTE *)argv[7]; 1266 dwValSize = (DWORD)_tcslen(argv[7]); 1267 1267 } 1268 1268 if (argc > 9)
Note:
See TracChangeset
for help on using the changeset viewer.