Lines Matching refs:pCallbackCtx
387 VBOXHOSTCHCALLBACKCTX *pCallbackCtx = (VBOXHOSTCHCALLBACKCTX *)RTMemAllocZ(sizeof(VBOXHOSTCHCALLBACKCTX));
389 if (pCallbackCtx != NULL)
395 RTListAppend(&pClient->listContexts, &pCallbackCtx->nodeClient);
396 pCallbackCtx->pClient = pClient;
402 RTMemFree(pCallbackCtx);
412 *ppCallbackCtx = pCallbackCtx;
418 static int vhcCallbackCtxDelete(VBOXHOSTCHCALLBACKCTX *pCallbackCtx)
423 VBOXHOSTCHCLIENT *pClient = pCallbackCtx->pClient;
435 if (pIter == pCallbackCtx)
444 RTListNodeRemove(&pCallbackCtx->nodeClient);
464 RTMemFree(pCallbackCtx);
563 VBOXHOSTCHCALLBACKCTX *pCallbackCtx = NULL;
564 rc = vhcCallbackCtxCreate(pClient, &pCallbackCtx);
572 &g_callbacks, pCallbackCtx);
594 vhcCallbackCtxDelete(pCallbackCtx);
823 VBOXHOSTCHCALLBACKCTX *pCallbackCtx = (VBOXHOSTCHCALLBACKCTX *)pvCallbacks;
834 VBOXHOSTCHCLIENT *pClient = pCallbackCtx->pClient;
851 if (pIter == pCallbackCtx)
873 pCallbackCtx, pClient->u32ClientID, pInstance));