Changeset 46625 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jun 18, 2013 1:28:52 PM (12 years ago)
- Location:
- trunk/src/VBox/Runtime/r3/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/RTSystemQueryOSInfo-win.cpp
r44529 r46625 225 225 { 226 226 BOOL (WINAPI *pfnGetProductInfo)(DWORD, DWORD, DWORD, DWORD, PDWORD); 227 pfnGetProductInfo = (BOOL (WINAPI *)(DWORD, DWORD, DWORD, DWORD, PDWORD))GetProcAddress(GetModuleHandle(" KERNEL32.DLL"), "GetProductInfo");227 pfnGetProductInfo = (BOOL (WINAPI *)(DWORD, DWORD, DWORD, DWORD, PDWORD))GetProcAddress(GetModuleHandle("kernel32.dll"), "GetProductInfo"); 228 228 if (pfnGetProductInfo) 229 229 { -
trunk/src/VBox/Runtime/r3/win/mp-win.cpp
r46619 r46625 97 97 98 98 pfnGetLogicalProcInfo = (BOOL (WINAPI *)(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION, PDWORD)) 99 GetProcAddress(GetModuleHandle(" KERNEL32.DLL"), "GetLogicalProcessorInformation");99 GetProcAddress(GetModuleHandle("kernel32.dll"), "GetLogicalProcessorInformation"); 100 100 /* 0 represents an error condition. We cannot return VERR* error codes as caller expects a 101 101 * unsigned value of core count.*/ -
trunk/src/VBox/Runtime/r3/win/thread-win.cpp
r46593 r46625 174 174 cComInits, cComInits, cOleInits, cOleInits)); 175 175 176 HMODULE hOle32 = GetModuleHandle(" OLE32");176 HMODULE hOle32 = GetModuleHandle("ole32.dll"); 177 177 AssertReturnVoid(hOle32 != NULL); 178 178 … … 258 258 if (!fInitialized) 259 259 { 260 HMODULE hmodKernel32 = GetModuleHandle(" KERNEL32.DLL");260 HMODULE hmodKernel32 = GetModuleHandle("kernel32.dll"); 261 261 if (hmodKernel32) 262 262 pfnGetCurrentProcessorNumber = (DWORD (WINAPI*)(void))GetProcAddress(hmodKernel32, "GetCurrentProcessorNumber");
Note:
See TracChangeset
for help on using the changeset viewer.