Lines Matching refs:cbMsg
421 uint32_t cbMsg;
425 static int crServerPendMsg(CRConnection *conn, const CRMessage *msg, int cbMsg)
429 if (!cbMsg)
431 WARN(("cbMsg is null!"));
435 pMsg = (CR_SERVER_PENDING_MSG*)RTMemAlloc(cbMsg + RT_OFFSETOF(CR_SERVER_PENDING_MSG, Msg));
442 pMsg->cbMsg = cbMsg;
444 memcpy(&pMsg->Msg, msg, cbMsg);
478 CRASSERT(pIter->cbMsg);
480 rc = SSMR3PutU32(pSSM, pIter->cbMsg);
483 rc = SSMR3PutMem(pSSM, &pIter->Msg, pIter->cbMsg);
533 pMsg->cbMsg = u32;
588 crServerDispatchMessage(CRConnection *conn, CRMessage *msg, int cbMsg)
628 if (RT_SUCCESS(crServerPendMsg(conn, msg, cbMsg)))
642 if (RT_SUCCESS(crServerPendMsg(conn, msg, cbMsg)))