Lines Matching defs:ConsoleVRDPServer

18 #include "ConsoleVRDPServer.h"
60 HRESULT init(ConsoleVRDPServer *server)
129 ConsoleVRDPServer *m_server;
132 typedef ListenerImpl<VRDPConsoleListener, ConsoleVRDPServer*> VRDPConsoleListenerImpl;
358 void ConsoleVRDPServer::onMousePointerShapeChange(BOOL visible,
529 // ConsoleVRDPServer
532 RTLDRMOD ConsoleVRDPServer::mVRDPLibrary = NIL_RTLDRMOD;
534 PFNVRDECREATESERVER ConsoleVRDPServer::mpfnVRDECreateServer = NULL;
536 VRDEENTRYPOINTS_4 ConsoleVRDPServer::mEntryPoints; /* A copy of the server entry points. */
537 VRDEENTRYPOINTS_4 *ConsoleVRDPServer::mpEntryPoints = NULL;
539 VRDECALLBACKS_4 ConsoleVRDPServer::mCallbacks =
542 ConsoleVRDPServer::VRDPCallbackQueryProperty,
543 ConsoleVRDPServer::VRDPCallbackClientLogon,
544 ConsoleVRDPServer::VRDPCallbackClientConnect,
545 ConsoleVRDPServer::VRDPCallbackClientDisconnect,
546 ConsoleVRDPServer::VRDPCallbackIntercept,
547 ConsoleVRDPServer::VRDPCallbackUSB,
548 ConsoleVRDPServer::VRDPCallbackClipboard,
549 ConsoleVRDPServer::VRDPCallbackFramebufferQuery,
550 ConsoleVRDPServer::VRDPCallbackFramebufferLock,
551 ConsoleVRDPServer::VRDPCallbackFramebufferUnlock,
552 ConsoleVRDPServer::VRDPCallbackInput,
553 ConsoleVRDPServer::VRDPCallbackVideoModeHint,
554 ConsoleVRDPServer::VRDECallbackAudioIn
557 DECLCALLBACK(int) ConsoleVRDPServer::VRDPCallbackQueryProperty(void *pvCallback, uint32_t index, void *pvBuffer,
560 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback);
920 DECLCALLBACK(int) ConsoleVRDPServer::VRDPCallbackClientLogon(void *pvCallback, uint32_t u32ClientId, const char *pszUser,
923 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback);
928 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackClientConnect(void *pvCallback, uint32_t u32ClientId)
930 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback);
945 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackClientDisconnect(void *pvCallback, uint32_t u32ClientId,
948 ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvCallback);
983 DECLCALLBACK(int) ConsoleVRDPServer::VRDPCallbackIntercept(void *pvCallback, uint32_t u32ClientId, uint32_t fu32Intercept,
986 ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvCallback);
1024 * This request is processed internally by the ConsoleVRDPServer.
1064 DECLCALLBACK(int) ConsoleVRDPServer::VRDPCallbackUSB(void *pvCallback, void *pvIntercept, uint32_t u32ClientId,
1074 DECLCALLBACK(int) ConsoleVRDPServer::VRDPCallbackClipboard(void *pvCallback, void *pvIntercept, uint32_t u32ClientId,
1081 DECLCALLBACK(bool) ConsoleVRDPServer::VRDPCallbackFramebufferQuery(void *pvCallback, unsigned uScreenId,
1084 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback);
1134 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackFramebufferLock(void *pvCallback, unsigned uScreenId)
1141 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackFramebufferUnlock(void *pvCallback, unsigned uScreenId)
1166 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackInput(void *pvCallback, int type, const void *pvInput, unsigned cbInput)
1168 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback);
1296 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackVideoModeHint(void *pvCallback, unsigned cWidth, unsigned cHeight,
1299 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback);
1306 DECLCALLBACK(void) ConsoleVRDPServer::VRDECallbackAudioIn(void *pvCallback,
1313 ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvCallback);
1362 ConsoleVRDPServer::ConsoleVRDPServer(Console *console)
1444 ConsoleVRDPServer::~ConsoleVRDPServer()
1481 int ConsoleVRDPServer::Launch(void)
1547 ConsoleVRDPServer::VRDPCallbackQueryProperty,
1548 ConsoleVRDPServer::VRDPCallbackClientLogon,
1549 ConsoleVRDPServer::VRDPCallbackClientConnect,
1550 ConsoleVRDPServer::VRDPCallbackClientDisconnect,
1551 ConsoleVRDPServer::VRDPCallbackIntercept,
1552 ConsoleVRDPServer::VRDPCallbackUSB,
1553 ConsoleVRDPServer::VRDPCallbackClipboard,
1554 ConsoleVRDPServer::VRDPCallbackFramebufferQuery,
1555 ConsoleVRDPServer::VRDPCallbackFramebufferLock,
1556 ConsoleVRDPServer::VRDPCallbackFramebufferUnlock,
1557 ConsoleVRDPServer::VRDPCallbackInput,
1558 ConsoleVRDPServer::VRDPCallbackVideoModeHint,
1559 ConsoleVRDPServer::VRDECallbackAudioIn
1593 ConsoleVRDPServer::VRDPCallbackQueryProperty,
1594 ConsoleVRDPServer::VRDPCallbackClientLogon,
1595 ConsoleVRDPServer::VRDPCallbackClientConnect,
1596 ConsoleVRDPServer::VRDPCallbackClientDisconnect,
1597 ConsoleVRDPServer::VRDPCallbackIntercept,
1598 ConsoleVRDPServer::VRDPCallbackUSB,
1599 ConsoleVRDPServer::VRDPCallbackClipboard,
1600 ConsoleVRDPServer::VRDPCallbackFramebufferQuery,
1601 ConsoleVRDPServer::VRDPCallbackFramebufferLock,
1602 ConsoleVRDPServer::VRDPCallbackFramebufferUnlock,
1603 ConsoleVRDPServer::VRDPCallbackInput,
1604 ConsoleVRDPServer::VRDPCallbackVideoModeHint
1797 void ConsoleVRDPServer::fetchCurrentState(void)
1821 ConsoleVRDPServer *pThis;
1834 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::H3DORBegin(const void *pvContext, void **ppvInstance,
1843 p->pThis = (ConsoleVRDPServer *)pvContext;
1878 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::H3DORGeometry(void *pvInstance,
1943 * the clipping must be done here in ConsoleVRDPServer
2001 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::H3DORVisibleRegion(void *pvInstance,
2032 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::H3DORFrame(void *pvInstance,
2066 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::H3DOREnd(void *pvInstance)
2081 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::H3DORContextProperty(const void *pvContext, uint32_t index,
2118 void ConsoleVRDPServer::remote3DRedirect(bool fEnable)
2141 /* Tell the host 3D service to redirect output using the ConsoleVRDPServer callbacks. */
2184 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::VRDEImageCbNotify (void *pvContext,
2194 ConsoleVRDPServer *pServer = static_cast<ConsoleVRDPServer*>(pvContext);
2227 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::VRDESCardCbNotify(void *pvContext,
2233 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvContext);
2245 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::VRDESCardCbResponse(void *pvContext,
2253 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvContext);
2267 int ConsoleVRDPServer::SCardRequest(void *pvUser, uint32_t u32Function, const void *pvData, uint32_t cbData)
2289 ConsoleVRDPServer *pThis;
2300 ConsoleVRDPServer *pThis;
2330 int ConsoleVRDPServer::tsmfLock(void)
2337 void ConsoleVRDPServer::tsmfUnlock(void)
2342 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::tsmfHostChannelAttach(void *pvProvider,
2350 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvProvider);
2386 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::tsmfHostChannelDetach(void *pvChannel)
2391 ConsoleVRDPServer *pThis = pHostChCtx->pThis;
2423 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::tsmfHostChannelSend(void *pvChannel,
2430 ConsoleVRDPServer *pThis = pHostChCtx->pThis;
2457 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::tsmfHostChannelRecv(void *pvChannel,
2466 ConsoleVRDPServer *pThis = pHostChCtx->pThis;
2497 /* static */ DECLCALLBACK(int) ConsoleVRDPServer::tsmfHostChannelControl(void *pvChannel,
2524 void ConsoleVRDPServer::setupTSMF(void)
2583 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::VRDETSMFCbNotify(void *pvContext,
2591 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvContext);
2717 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::VRDECallbackVideoInNotify(void *pvCallback,
2722 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvCallback);
2729 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::VRDECallbackVideoInDeviceDesc(void *pvCallback,
2736 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvCallback);
2743 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::VRDECallbackVideoInControl(void *pvCallback,
2750 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvCallback);
2757 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::VRDECallbackVideoInFrame(void *pvCallback,
2763 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvCallback);
2770 int ConsoleVRDPServer::VideoInDeviceAttach(const VRDEVIDEOINDEVICEHANDLE *pDeviceHandle, void *pvDeviceCtx)
2786 int ConsoleVRDPServer::VideoInDeviceDetach(const VRDEVIDEOINDEVICEHANDLE *pDeviceHandle)
2802 int ConsoleVRDPServer::VideoInGetDeviceDesc(void *pvUser, const VRDEVIDEOINDEVICEHANDLE *pDeviceHandle)
2818 int ConsoleVRDPServer::VideoInControl(void *pvUser, const VRDEVIDEOINDEVICEHANDLE *pDeviceHandle,
2836 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::VRDECallbackInputSetup(void *pvCallback,
2849 /* static */ DECLCALLBACK(void) ConsoleVRDPServer::VRDECallbackInputEvent(void *pvCallback,
2854 ConsoleVRDPServer *pThis = static_cast<ConsoleVRDPServer*>(pvCallback);
2927 void ConsoleVRDPServer::EnableConnections(void)
2938 void ConsoleVRDPServer::DisconnectClient(uint32_t u32ClientId, bool fReconnect)
2946 int ConsoleVRDPServer::MousePointer(BOOL alpha,
3003 void ConsoleVRDPServer::MousePointerUpdate(const VRDECOLORPOINTER *pPointer)
3011 void ConsoleVRDPServer::MousePointerHide(void)
3019 void ConsoleVRDPServer::Stop(void)
3088 ConsoleVRDPServer *pOwner = (ConsoleVRDPServer *)pvUser;
3111 void ConsoleVRDPServer::notifyRemoteUSBThreadRunning(RTTHREAD thread)
3119 bool ConsoleVRDPServer::isRemoteUSBThreadRunning(void)
3124 void ConsoleVRDPServer::waitRemoteUSBThreadEvent(RTMSINTERVAL cMillies)
3131 void ConsoleVRDPServer::remoteUSBThreadStart(void)
3161 void ConsoleVRDPServer::remoteUSBThreadStop(void)
3256 AuthResult ConsoleVRDPServer::Authenticate(const Guid &uuid, AuthGuestJudgement guestJudgement,
3264 LogFlow(("ConsoleVRDPServer::Authenticate: uuid = %RTuuid, guestJudgement = %d, pszUser = %s, pszPassword = %s, pszDomain = %s, u32ClientId = %d\n",
3294 LogRel(("AUTH: ConsoleVRDPServer::Authenticate: loading external authentication library VBoxAuth\n"));
3399 LogFlow(("ConsoleVRDPServer::Authenticate: result = %d\n", result));
3404 void ConsoleVRDPServer::AuthDisconnect(const Guid &uuid, uint32_t u32ClientId)
3410 LogFlow(("ConsoleVRDPServer::AuthDisconnect: uuid = %RTuuid, u32ClientId = %d\n",
3432 int ConsoleVRDPServer::lockConsoleVRDPServer(void)
3439 void ConsoleVRDPServer::unlockConsoleVRDPServer(void)
3444 DECLCALLBACK(int) ConsoleVRDPServer::ClipboardCallback(void *pvCallback,
3456 ConsoleVRDPServer *pServer = static_cast <ConsoleVRDPServer *>(pvCallback);
3491 DECLCALLBACK(int) ConsoleVRDPServer::ClipboardServiceExtension(void *pvExtension,
3501 ConsoleVRDPServer *pServer = static_cast <ConsoleVRDPServer *>(pvExtension);
3563 void ConsoleVRDPServer::ClipboardCreate(uint32_t u32ClientId)
3583 void ConsoleVRDPServer::ClipboardDelete(uint32_t u32ClientId)
3601 * The ConsoleVRDPServer keeps a list of created backend instances.
3603 void ConsoleVRDPServer::USBBackendCreate(uint32_t u32ClientId, void **ppvIntercept)
3606 LogFlow(("ConsoleVRDPServer::USBBackendCreate: u32ClientId = %d\n", u32ClientId));
3648 void ConsoleVRDPServer::USBBackendDelete(uint32_t u32ClientId)
3651 LogFlow(("ConsoleVRDPServer::USBBackendDelete: u32ClientId = %d\n", u32ClientId));
3679 void *ConsoleVRDPServer::USBBackendRequestPointer(uint32_t u32ClientId, const Guid *pGuid)
3719 void ConsoleVRDPServer::USBBackendReleasePointer(const Guid *pGuid)
3746 RemoteUSBBackend *ConsoleVRDPServer::usbBackendGetNext(RemoteUSBBackend *pRemoteUSBBackend)
3748 LogFlow(("ConsoleVRDPServer::usbBackendGetNext: pBackend = %p\n", pRemoteUSBBackend));
3787 RemoteUSBBackend *ConsoleVRDPServer::usbBackendFind(uint32_t u32ClientId)
3805 RemoteUSBBackend *ConsoleVRDPServer::usbBackendFindByUUID(const Guid *pGuid)
3824 void ConsoleVRDPServer::usbBackendRemoveFromList(RemoteUSBBackend *pRemoteUSBBackend)
3856 void ConsoleVRDPServer::SendUpdate(unsigned uScreenId, void *pvUpdate, uint32_t cbUpdate) const
3864 void ConsoleVRDPServer::SendResize(void)
3874 void ConsoleVRDPServer::SendUpdateBitmap(unsigned uScreenId, uint32_t x, uint32_t y, uint32_t w, uint32_t h) const
3887 void ConsoleVRDPServer::SendAudioSamples(void *pvSamples, uint32_t cSamples, VRDEAUDIOFORMAT format) const
3895 void ConsoleVRDPServer::SendAudioVolume(uint16_t left, uint16_t right) const
3903 void ConsoleVRDPServer::SendUSBRequest(uint32_t u32ClientId, void *pvParms, uint32_t cbParms) const
3911 int ConsoleVRDPServer::SendAudioInputBegin(void **ppvUserCtx,
3931 *ppvUserCtx = NULL; /* This is the ConsoleVRDPServer context.
3933 * do audio input and the client ID is saved by the ConsoleVRDPServer.
3945 void ConsoleVRDPServer::SendAudioInputEnd(void *pvUserCtx)
3957 void ConsoleVRDPServer::QueryInfo(uint32_t index, void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut) const
3975 /* static */ int ConsoleVRDPServer::loadVRDPLibrary(const char *pszLibraryName)