static int dvcman_push_event(IWTSVirtualChannelManager* pChannelMgr, FRDP_EVENT* pEvent) { DVCMAN* dvcman = (DVCMAN*)pChannelMgr; int error; error = drdynvc_push_event(dvcman->drdynvc, pEvent); if (error == 0) { DEBUG_DVC("event_type %d pushed.", pEvent->event_type); } else { DEBUG_WARN("event_type %d push failed.", pEvent->event_type); } return error; }
static int dvcman_push_event(IWTSVirtualChannelManager *pChannelMgr, wMessage *pEvent) { int status; DVCMAN *dvcman = (DVCMAN *) pChannelMgr; assert(dvcman); status = drdynvc_push_event(dvcman->drdynvc, pEvent); if (status == 0) { DEBUG_DVC("event_type %d pushed.", GetMessageType(pEvent->id)); } else { DEBUG_WARN("event_type %d push failed.", GetMessageType(pEvent->id)); } return status; }