Changeset 57865 in vbox for trunk/src/VBox/Runtime/r3/win/init-win.cpp
- Timestamp:
- Sep 23, 2015 1:42:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/init-win.cpp
r57358 r57865 57 57 /** The native ntdll.dll handle. */ 58 58 DECLHIDDEN(HMODULE) g_hModNtDll = NULL; 59 /** GetSystemWindowsDirectoryW or GetWindowsDirectoryW (NT4). */ 60 DECLHIDDEN(PFNGETWINSYSDIR) g_pfnGetSystemWindowsDirectoryW = NULL; 59 61 60 62 … … 293 295 rc = rtR3InitNativeObtrusiveWorker(); 294 296 297 /* 298 * Resolve some kernel32.dll APIs we may need but aren't necessarily 299 * present in older windows versions. 300 */ 301 g_pfnGetSystemWindowsDirectoryW = (PFNGETWINSYSDIR)GetProcAddress(g_hModKernel32, "GetSystemWindowsDirectoryW"); 302 if (g_pfnGetSystemWindowsDirectoryW) 303 g_pfnGetSystemWindowsDirectoryW = (PFNGETWINSYSDIR)GetProcAddress(g_hModKernel32, "GetWindowsDirectoryW"); 304 295 305 return rc; 296 306 }
Note:
See TracChangeset
for help on using the changeset viewer.