Changeset 44869 in vbox for trunk/src/VBox
- Timestamp:
- Feb 28, 2013 3:42:02 PM (12 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp
r44863 r44869 455 455 PVBOXSERVICECTRLREQUEST pRequest; 456 456 rc = GstCntlProcessRequestAllocEx(&pRequest, VBOXSERVICECTRLREQUEST_PROC_TERM, 457 NULL /* pvBuf */, NULL/* cbBuf */, pHostCtx->uContextID);457 NULL /* pvBuf */, 0 /* cbBuf */, pHostCtx->uContextID); 458 458 if (RT_SUCCESS(rc)) 459 459 { -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.h
r44863 r44869 228 228 * @todo Would be nice to have a RTListGetAnchor(). */ 229 229 PRTLISTANCHOR pAnchor; 230 /** Node to global guest control file list. 230 /** Node to global guest control file list. */ 231 231 /** @todo Use a map later? */ 232 232 RTLISTNODE Node; … … 266 266 typedef struct VBOXSERVICECTRLSESSION 267 267 { 268 /** Node to global guest control session list. 268 /** Node to global guest control session list. */ 269 269 /** @todo Use a map later? */ 270 270 RTLISTNODE Node; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r44863 r44869 47 47 * Internal Functions * 48 48 *******************************************************************************/ 49 intgstcntlSessionFileDestroy(PVBOXSERVICECTRLFILE pFile);50 intgstcntlSessionForkShutdown(uint32_t uClientId, uint32_t cParms);49 static int gstcntlSessionFileDestroy(PVBOXSERVICECTRLFILE pFile); 50 static int gstcntlSessionForkShutdown(uint32_t uClientId, uint32_t cParms); 51 51 static PVBOXSERVICECTRLFILE gstcntlSessionGetFile(uint32_t uHandle); 52 52 static int gstcntlSessionHandleFileOpen(uint32_t uClientId, uint32_t cParms); … … 970 970 } 971 971 972 int gstcntlSessionForkShutdown(uint32_t uClientId, uint32_t cParms)972 static int gstcntlSessionForkShutdown(uint32_t uClientId, uint32_t cParms) 973 973 { 974 974 VBoxServiceVerbose(0, "Session %RU32 is going to shutdown ...\n", g_uSessionID); -
trunk/src/VBox/HostServices/GuestControl/service.cpp
r44863 r44869 409 409 typedef struct ClientState 410 410 { 411 ClientState(void) 412 : mSvcHelpers(NULL), 413 mFlags(0), mContextFilter(0), 414 mpHostCmd(NULL), mHostCmdRc(VINF_SUCCESS), mHostCmdTries(0), 415 mIsPending(false) {} 416 411 417 ClientState(PVBOXHGCMSVCHELPERS pSvcHelpers) 412 : mSvcHelpers(pSvcHelpers), mpHostCmd(NULL), 413 mFlags(0), mContextFilter(0), mIsPending(false), 414 mHostCmdTries(0), mHostCmdRc(VINF_SUCCESS) {} 415 416 ClientState(void) 417 : mSvcHelpers(NULL), mpHostCmd(NULL), 418 mFlags(0), mContextFilter(0), mIsPending(false), 419 mHostCmdTries(0), mHostCmdRc(VINF_SUCCESS) {} 418 : mSvcHelpers(pSvcHelpers), 419 mFlags(0), mContextFilter(0), 420 mpHostCmd(NULL), mHostCmdRc(VINF_SUCCESS), mHostCmdTries(0), 421 mIsPending(false) {} 420 422 421 423 bool WantsHostCommand(const HostCommand *pHostCmd) const … … 913 915 itContext++; 914 916 } 915 itClientState = mClientStateMap.erase(itClientState);917 mClientStateMap.erase(itClientState++); 916 918 } 917 919 else -
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r44863 r44869 1 2 1 /* $Id$ */ 3 2 /** @file 4 * VirtualBox Main - XXX.3 * VirtualBox Main - Guest session tasks. 5 4 */ 6 5 7 6 /* 8 * Copyright (C) 2012 Oracle Corporation7 * Copyright (C) 2012-2013 Oracle Corporation 9 8 * 10 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 139 138 HRESULT GuestSessionTask::setProgressErrorMsg(HRESULT hr, const Utf8Str &strMsg) 140 139 { 141 LogFlowFunc((" mProgress=%p,hr=%Rhrc, strMsg=%s\n",142 mProgress,hr, strMsg.c_str()));140 LogFlowFunc(("hr=%Rhrc, strMsg=%s\n", 141 hr, strMsg.c_str())); 143 142 144 143 if (mProgress.isNull()) /* Progress is optional. */
Note:
See TracChangeset
for help on using the changeset viewer.