Changeset 48030 in vbox for trunk/src/VBox
- Timestamp:
- Aug 23, 2013 1:03:06 PM (11 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/VBoxGuestInstallHelper.cpp
r47234 r48030 133 133 * @param phSession Where to store the IPC session. 134 134 */ 135 static int vboxConnectToVBoxTray(RTLOCALIPCSESSION hSession)135 static int vboxConnectToVBoxTray(RTLOCALIPCSESSION *phSession) 136 136 { 137 137 int rc = VINF_SUCCESS; … … 153 153 VBOXTRAY_IPC_PIPE_PREFIX, pszUserName)) 154 154 { 155 rc = RTLocalIpcSessionConnect( &hSession, szPipeName, 0 /* Flags */);155 rc = RTLocalIpcSessionConnect(phSession, szPipeName, 0 /* Flags */); 156 156 } 157 157 else … … 475 475 if (SUCCEEDED(hr)) 476 476 { 477 RTLOCALIPCSESSION hSession ;478 int rc = vboxConnectToVBoxTray( hSession);477 RTLOCALIPCSESSION hSession = 0; 478 int rc = vboxConnectToVBoxTray(&hSession); 479 479 if (RT_SUCCESS(rc)) 480 480 { -
trunk/src/VBox/Additions/WINNT/Installer/VBoxDrvInst.cpp
r46745 r48030 535 535 536 536 /* Look if the network provider is already in the list. */ 537 int iPos = 0;537 unsigned int iPos = 0; 538 538 size_t cb = 0; 539 539 540 540 /* Replace delimiting "\0"'s with "," to make tokenizing work. */ 541 for ( inti = 0; i < cbKeyValue / sizeof(TCHAR); i++)541 for (unsigned i = 0; i < cbKeyValue / sizeof(TCHAR); i++) 542 542 if (szKeyValue[i] == '\0') szKeyValue[i] = ','; 543 543 … … 636 636 int iIndex = 0; 637 637 int iNewIndex = 0; 638 for ( inti = 0; i < cbKeyValue / sizeof(TCHAR); i++)638 for (unsigned i = 0; i < cbKeyValue / sizeof(TCHAR); i++) 639 639 { 640 640 if (szKeyValue[i] != _T('\0')) -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
r46625 r48030 606 606 { 607 607 LogRel(("VBoxTray: (WDDM) Request to enable/disable %d display device\n", fEnabled)); 608 DWORD dwStatus = vboxDispIfWddmEnableDisplay(&pCtx->pEnv->dispIf, Id, fEnabled);608 DWORD dwStatus = vboxDispIfWddmEnableDisplay(&pCtx->pEnv->dispIf, Id, RT_BOOL(fEnabled)); 609 609 if(dwStatus != ERROR_SUCCESS) 610 610 {
Note:
See TracChangeset
for help on using the changeset viewer.