Changeset 46625 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Jun 18, 2013 1:28:52 PM (12 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r46194 r46625 100 100 { 101 101 Log((__FUNCTION__": this is vista and up\n")); 102 HMODULE hUser = GetModuleHandle(" USER32");102 HMODULE hUser = GetModuleHandle("user32.dll"); 103 103 if (hUser) 104 104 { … … 169 169 else 170 170 { 171 Log((__FUNCTION__": GetModuleHandle( USER32) failed, err(%d)\n", GetLastError()));171 Log((__FUNCTION__": GetModuleHandle(user32) failed, err(%d)\n", GetLastError())); 172 172 err = ERROR_NOT_SUPPORTED; 173 173 } … … 1573 1573 if (OSinfo.dwMajorVersion >= 5) 1574 1574 { 1575 HMODULE hUser = GetModuleHandle(" USER32");1575 HMODULE hUser = GetModuleHandle("user32.dll"); 1576 1576 if (NULL != hUser) 1577 1577 { … … 1589 1589 else 1590 1590 { 1591 Log((__FUNCTION__": failed to get USER32 handle, err (%d)\n", GetLastError()));1591 Log((__FUNCTION__": failed to get user32 handle, err (%d)\n", GetLastError())); 1592 1592 err = ERROR_NOT_SUPPORTED; 1593 1593 } -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
r45761 r46625 63 63 GetVersionEx (&OSinfo); 64 64 65 HMODULE hUser = GetModuleHandle(" USER32");65 HMODULE hUser = GetModuleHandle("user32.dll"); 66 66 67 67 gCtx.pEnv = pEnv; -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxLA.cpp
r46593 r46625 1249 1249 RT_ZERO(gCtx.activeClient); 1250 1250 1251 *(void **)&gCtx.pfnProcessIdToSessionId = RTLdrGetSystemSymbol(" KERNEL32", "ProcessIdToSessionId");1251 *(void **)&gCtx.pfnProcessIdToSessionId = RTLdrGetSystemSymbol("kernel32.dll", "ProcessIdToSessionId"); 1252 1252 *pfStartThread = true; 1253 1253 *ppInstance = &gCtx; -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp
r46593 r46625 551 551 BOOL (WINAPI * pfnConvertStringSecurityDescriptorToSecurityDescriptorA)(LPCSTR StringSecurityDescriptor, DWORD StringSDRevision, PSECURITY_DESCRIPTOR *SecurityDescriptor, PULONG SecurityDescriptorSize); 552 552 *(void **)&pfnConvertStringSecurityDescriptorToSecurityDescriptorA = 553 RTLdrGetSystemSymbol(" ADVAPI32.DLL", "ConvertStringSecurityDescriptorToSecurityDescriptorA");553 RTLdrGetSystemSymbol("advapi32.dll", "ConvertStringSecurityDescriptorToSecurityDescriptorA"); 554 554 Log(("VBoxTray: pfnConvertStringSecurityDescriptorToSecurityDescriptorA = %x\n", pfnConvertStringSecurityDescriptorToSecurityDescriptorA)); 555 555 if (pfnConvertStringSecurityDescriptorToSecurityDescriptorA) … … 1292 1292 { 1293 1293 /* Try get the system APIs we need. */ 1294 *(void **)&gVBoxDt.pfnGetThreadDesktop = RTLdrGetSystemSymbol(" User32.dll", "GetThreadDesktop");1294 *(void **)&gVBoxDt.pfnGetThreadDesktop = RTLdrGetSystemSymbol("user32.dll", "GetThreadDesktop"); 1295 1295 if (!gVBoxDt.pfnGetThreadDesktop) 1296 1296 { … … 1299 1299 } 1300 1300 1301 *(void **)&gVBoxDt.pfnOpenInputDesktop = RTLdrGetSystemSymbol(" User32.dll", "OpenInputDesktop");1301 *(void **)&gVBoxDt.pfnOpenInputDesktop = RTLdrGetSystemSymbol("user32.dll", "OpenInputDesktop"); 1302 1302 if (!gVBoxDt.pfnOpenInputDesktop) 1303 1303 { … … 1306 1306 } 1307 1307 1308 *(void **)&gVBoxDt.pfnCloseDesktop = RTLdrGetSystemSymbol(" User32.dll", "CloseDesktop");1308 *(void **)&gVBoxDt.pfnCloseDesktop = RTLdrGetSystemSymbol("user32.dll", "CloseDesktop"); 1309 1309 if (!gVBoxDt.pfnCloseDesktop) 1310 1310 {
Note:
See TracChangeset
for help on using the changeset viewer.