Changeset 59416 in vbox
- Timestamp:
- Jan 20, 2016 11:05:47 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
r59393 r59416 77 77 * windows server 2008 seems to have trouble with newer IDL compilers. 78 78 */ 79 #define VBPS_PROXY_STUB_FILE(a_fIs32On64) \ 79 #if ARCH_BITS == 64 || defined(VBOX_IN_32_ON_64_MAIN_API) 80 # define VBPS_PROXY_STUB_FILE(a_fIs32On64) \ 80 81 ( (a_fIs32On64) ? "x86\\VBoxProxyStub-x86.dll" \ 81 82 : RT_MAKE_U64(((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMinorVersion, \ 82 83 ((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMajorVersion) >= RT_MAKE_U64(1/*Lo*/,6/*Hi*/) \ 83 84 ? "VBoxProxyStub.dll" : "VBoxProxyStubLegacy.dll" ) 85 #else 86 # define VBPS_PROXY_STUB_FILE(a_fIs32On64) "VBoxProxyStub.dll" 87 #endif 84 88 85 89 … … 1290 1294 static void vbpsUpdateTypeLibRegistration(VBPSREGSTATE *pState, PCRTUTF16 pwszVBoxDir, bool fIs32On64) 1291 1295 { 1292 const char * const pszTypeLibDll = VBPS_PROXY_STUB_FILE(fIs32On64); 1293 const char * const pszWinXx = !fIs32On64 ? "win64" : "win32"; 1296 const char * const pszTypeLibDll = VBPS_PROXY_STUB_FILE(fIs32On64); 1297 #if ARCH_BITS == 32 && !defined(VBOX_IN_32_ON_64_MAIN_API) 1298 const char * const pszWinXx = "win32"; 1299 #else 1300 const char * const pszWinXx = !fIs32On64 ? "win64" : "win32"; 1301 #endif 1294 1302 const char * const pszDescription = "VirtualBox Type Library"; 1295 1303
Note:
See TracChangeset
for help on using the changeset viewer.

