Changeset 100619 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jul 18, 2023 8:06:24 AM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 158450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestShClPrivate.cpp
r100616 r100619 221 221 * 222 222 * @returns VBox status code. 223 * @retval VERR_NOT_SUPPORTED if the extension didn't handle the requested function. This will invoke the regular backend then. 223 224 * @param pvExtension Pointer to service extension. 224 225 * @param u32Function Callback HGCM message ID. … … 239 240 /* pParms might be NULL, depending on the message. */ 240 241 241 int vrc = VINF_SUCCESS;242 int vrc; 242 243 243 244 switch (u32Function) … … 250 251 251 252 default: 253 vrc = VERR_NOT_SUPPORTED; 252 254 break; 253 255 } … … 255 257 PSHCLSVCEXT const pExt = &pThis->m_SvcExtVRDP; /* Currently we have one extension only. */ 256 258 257 if (pExt->pfnExt) 258 { 259 int vrc2 = pExt->pfnExt(pExt->pvExt, u32Function, pvParms, cbParms); 260 if (RT_SUCCESS(vrc)) 261 vrc = vrc2; 262 } 259 if (pExt->pfnExt) /* Overwrite rc if we have an extension present. */ 260 vrc = pExt->pfnExt(pExt->pvExt, u32Function, pvParms, cbParms); 263 261 264 262 LogFlowFuncLeaveRC(vrc);
Note:
See TracChangeset
for help on using the changeset viewer.