Lines Matching defs:u32ClientId

127         int saveClientState(uint32_t u32ClientId, PSSMHANDLE pSSM);
128 int loadClientState(uint32_t u32ClientId, PSSMHANDLE pSSM);
134 static DECLCALLBACK(void) svcHlpDisconnectClient(void *pvInstance, uint32_t u32ClientId);
156 int DisconnectClient(uint32_t u32ClientId, bool fFromService);
176 int GuestCall(PPDMIHGCMPORT pHGCMPort, PVBOXHGCMCMD pCmd, uint32_t u32ClientId,
392 uint32_t u32ClientId;
399 uint32_t u32ClientId;
419 uint32_t u32ClientId;
433 uint32_t u32ClientId;
564 LogFlowFunc(("SVC_MSG_CONNECT u32ClientId = %d\n", pMsg->u32ClientId));
566 HGCMClient *pClient = (HGCMClient *)hgcmObjReference(pMsg->u32ClientId, HGCMOBJ_CLIENT);
570 rc = pSvc->m_fntable.pfnConnect(pSvc->m_fntable.pvService, pMsg->u32ClientId,
585 LogFlowFunc(("SVC_MSG_DISCONNECT u32ClientId = %d\n", pMsg->u32ClientId));
587 HGCMClient *pClient = (HGCMClient *)hgcmObjReference(pMsg->u32ClientId, HGCMOBJ_CLIENT);
591 rc = pSvc->m_fntable.pfnDisconnect(pSvc->m_fntable.pvService, pMsg->u32ClientId,
606 LogFlowFunc(("SVC_MSG_GUESTCALL u32ClientId = %d, u32Function = %d, cParms = %d, paParms = %p\n",
607 pMsg->u32ClientId, pMsg->u32Function, pMsg->cParms, pMsg->paParms));
609 HGCMClient *pClient = (HGCMClient *)hgcmObjReference(pMsg->u32ClientId, HGCMOBJ_CLIENT);
613 pSvc->m_fntable.pfnCall(pSvc->m_fntable.pvService, (VBOXHGCMCALLHANDLE)pMsg, pMsg->u32ClientId,
641 HGCMClient *pClient = (HGCMClient *)hgcmObjReference(pMsg->u32ClientId, HGCMOBJ_CLIENT);
647 rc = pSvc->m_fntable.pfnLoadState(pSvc->m_fntable.pvService, pMsg->u32ClientId,
665 HGCMClient *pClient = (HGCMClient *)hgcmObjReference(pMsg->u32ClientId, HGCMOBJ_CLIENT);
674 rc = pSvc->m_fntable.pfnSaveState(pSvc->m_fntable.pvService, pMsg->u32ClientId,
776 /* static */ DECLCALLBACK(void) HGCMService::svcHlpDisconnectClient(void *pvInstance, uint32_t u32ClientId)
782 pService->DisconnectClient(u32ClientId, true);
884 int HGCMService::saveClientState(uint32_t u32ClientId, PSSMHANDLE pSSM)
896 pMsg->u32ClientId = u32ClientId;
908 int HGCMService::loadClientState(uint32_t u32ClientId, PSSMHANDLE pSSM)
921 pMsg->u32ClientId = u32ClientId;
1207 uint32_t u32ClientId = pSvc->m_paClientIds[i];
1209 Log(("client id 0x%08X\n", u32ClientId));
1212 rc = SSMR3PutU32(pSSM, u32ClientId);
1216 rc = pSvc->saveClientState(u32ClientId, pSSM);
1283 uint32_t u32ClientId;
1284 rc = SSMR3GetU32(pSSM, &u32ClientId);
1293 rc = pSvc->CreateAndConnectClient(NULL, u32ClientId);
1302 rc = pSvc->loadClientState(u32ClientId, pSSM);
1367 pMsg->u32ClientId = handle;
1410 * @param u32ClientId The handle of the client.
1413 int HGCMService::DisconnectClient(uint32_t u32ClientId, bool fFromService)
1417 LogFlowFunc(("client id = %d, fFromService = %d\n", u32ClientId, fFromService));
1431 pMsg->u32ClientId = u32ClientId;
1440 u32ClientId, fFromService, RT_VALID_PTR(m_pszSvcName)? m_pszSvcName: "", m_thread, rc));
1449 if (m_paClientIds[i] == u32ClientId)
1459 hgcmObjDeleteHandle(u32ClientId);
1525 * @param u32ClientId The client handle to be disconnected and deleted.
1531 int HGCMService::GuestCall(PPDMIHGCMPORT pHGCMPort, PVBOXHGCMCMD pCmd, uint32_t u32ClientId, uint32_t u32Function,
1549 pMsg->u32ClientId = u32ClientId;
1692 uint32_t u32ClientId;
1850 LogFlowFunc(("HGCM_MSG_DISCONNECT u32ClientId = %d\n",
1851 pMsg->u32ClientId));
1853 HGCMClient *pClient = (HGCMClient *)hgcmObjReference(pMsg->u32ClientId, HGCMOBJ_CLIENT);
1865 rc = pService->DisconnectClient(pMsg->u32ClientId, false);
2226 * @param u32ClientId The client handle to be disconnected and deleted.
2231 uint32_t u32ClientId)
2233 LogFlowFunc(("pHGCMPort = %p, pCmd = %p, u32ClientId = %d\n",
2234 pHGCMPort, pCmd, u32ClientId));
2236 if (!pHGCMPort || !pCmd || !u32ClientId)
2254 pMsg->u32ClientId = u32ClientId;
2320 * @param u32ClientId The client handle to be disconnected and deleted.
2328 uint32_t u32ClientId,
2333 LogFlowFunc(("pHGCMPort = %p, pCmd = %p, u32ClientId = %d, u32Function = %d, cParms = %d, paParms = %p\n",
2334 pHGCMPort, pCmd, u32ClientId, u32Function, cParms, paParms));
2336 if (!pHGCMPort || !pCmd || u32ClientId == 0)
2344 HGCMClient *pClient = (HGCMClient *)hgcmObjReference(u32ClientId, HGCMOBJ_CLIENT);
2351 rc = pClient->pService->GuestCall(pHGCMPort, pCmd, u32ClientId, u32Function, cParms, paParms);