Changeset 88812 in vbox
- Timestamp:
- May 1, 2021 6:11:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r84881 r88812 2064 2064 2065 2065 static int vgsvcGstCtrlProcessRequestExV(PVBOXSERVICECTRLPROCESS pProcess, const PVBGLR3GUESTCTRLCMDCTX pHostCtx, bool fAsync, 2066 RTMSINTERVAL uTimeoutMS, P RTREQ pReq, PFNRT pfnFunction, unsigned cArgs, va_list Args)2066 RTMSINTERVAL uTimeoutMS, PFNRT pfnFunction, unsigned cArgs, va_list Args) 2067 2067 { 2068 2068 RT_NOREF1(pHostCtx); … … 2087 2087 } 2088 2088 2089 rc = RTReqQueueCallV(pProcess->hReqQueue, &pReq, uTimeoutMS, fFlags, pfnFunction, cArgs, Args); 2089 PRTREQ hReq = NIL_RTREQ; 2090 rc = RTReqQueueCallV(pProcess->hReqQueue, &hReq, uTimeoutMS, fFlags, pfnFunction, cArgs, Args); 2091 RTReqRelease(hReq); 2090 2092 if (RT_SUCCESS(rc)) 2091 2093 { … … 2131 2133 va_start(va, cArgs); 2132 2134 int rc = vgsvcGstCtrlProcessRequestExV(pProcess, pHostCtx, true /* fAsync */, 0 /* uTimeoutMS */, 2133 NULL /* pReq */,pfnFunction, cArgs, va);2135 pfnFunction, cArgs, va); 2134 2136 va_end(va); 2135 2137 … … 2140 2142 #if 0 /* unused */ 2141 2143 static int vgsvcGstCtrlProcessRequestWait(PVBOXSERVICECTRLPROCESS pProcess, const PVBGLR3GUESTCTRLCMDCTX pHostCtx, 2142 RTMSINTERVAL uTimeoutMS, P RTREQ pReq, PFNRT pfnFunction, unsigned cArgs, ...)2144 RTMSINTERVAL uTimeoutMS, PFNRT pfnFunction, unsigned cArgs, ...) 2143 2145 { 2144 2146 AssertPtrReturn(pProcess, VERR_INVALID_POINTER); … … 2149 2151 va_start(va, cArgs); 2150 2152 int rc = vgsvcGstCtrlProcessRequestExV(pProcess, pHostCtx, false /* fAsync */, uTimeoutMS, 2151 p Req, pfnFunction, cArgs, va);2153 pfnFunction, cArgs, va); 2152 2154 va_end(va); 2153 2155
Note:
See TracChangeset
for help on using the changeset viewer.