Changeset 2386 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Apr 27, 2007 9:59:46 AM (18 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ConsoleImpl.h
r2382 r2386 410 410 static DECLCALLBACK(void) vrdp_InterceptAudio (void *pvUser, uint32_t u32ClientId); 411 411 static DECLCALLBACK(void) vrdp_InterceptUSB (void *pvUser, uint32_t u32ClientId, PFNVRDPUSBCALLBACK *ppfn, void **ppv); 412 static DECLCALLBACK(void) vrdp_InterceptClipboard (void *pvUser, uint32_t u32ClientId, PFNVRDPCLIPBOARDCALLBACK *ppfn, void **ppv); 412 413 #else 413 414 static DECLCALLBACK(int) vrdp_ClientLogon (void *pvUser, const char *pszUser, const char *pszPassword, const char *pszDomain); … … 416 417 static DECLCALLBACK(void) vrdp_InterceptAudio (void *pvUser, bool keepHostAudio); 417 418 static DECLCALLBACK(void) vrdp_InterceptUSB (void *pvUser, PFNVRDPUSBCALLBACK *ppfn, void **ppv); 419 static DECLCALLBACK(void) vrdp_InterceptClipboard (void *pvUser, PFNVRDPCLIPBOARDCALLBACK *ppfn, void **ppv); 418 420 #endif /* VRDP_MC */ 419 421 -
trunk/src/VBox/Main/include/ConsoleVRDPServer.h
r300 r2386 24 24 25 25 #include "RemoteUSBBackend.h" 26 #include "hgcm/hgcm.h" 26 27 27 28 #include <VBox/VRDPAuth.h> 29 30 #include <VBox/HostServices/VBoxClipboardExt.h> 28 31 29 32 // ConsoleVRDPServer … … 61 64 void waitRemoteUSBThreadEvent (unsigned cMillies); 62 65 66 void ClipboardCreate (uint32_t u32ClientId, PFNVRDPCLIPBOARDCALLBACK *ppfn, void **ppv); 67 void ClipboardDelete (uint32_t u32ClientId); 63 68 #else 64 69 void CreateUSBBackend (PFNVRDPUSBCALLBACK *ppfn, void **ppv); … … 116 121 static void (VBOXCALL *mpfnVRDPSendUpdate) (HVRDPSERVER hServer, void *pvUpdate, uint32_t cbUpdate); 117 122 static void (VBOXCALL *mpfnVRDPQueryInfo) (HVRDPSERVER hserver, uint32_t index, void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut); 123 static void (VBOXCALL *mpfnVRDPClipboard) (HVRDPSERVER hserver, uint32_t u32Function, uint32_t u32Format, const void *pvData, uint32_t cbData); 118 124 #endif 119 125 … … 123 129 int lockConsoleVRDPServer (void); 124 130 void unlockConsoleVRDPServer (void); 125 131 132 int mcClipboardRefs; 133 HGCMSVCEXTHANDLE mhClipboard; 134 PFNVRDPCLIPBOARDEXTCALLBACK mpfnClipboardCallback; 135 136 RTSEMEVENTMULTI mEventClipboardData; 137 void *mpvClipboardData; 138 uint32_t mcbClipboardData; 139 volatile uint32_t mfu32ClipboardWaitData; 140 141 static DECLCALLBACK(int) ClipboardCallback (void *pvCallback, uint32_t u32ClientId, uint32_t u32Function, uint32_t u32Format, const void *pvData, uint32_t cbData); 142 static DECLCALLBACK(int) ClipboardServiceExtension (void *pvExtension, uint32_t u32Function, void *pvParm, uint32_t cbParms); 143 126 144 #ifdef VBOX_WITH_USB 127 145 RemoteUSBBackend *usbBackendFindByUUID (const Guid *pGuid); -
trunk/src/VBox/Main/include/hgcm/HGCM.h
r1711 r2386 33 33 #define HGCM_SSM_VERSION 2 34 34 35 /* Handle of a HGCM service extension. */ 36 struct _HGCMSVCEXTHANDLEDATA; 37 typedef struct _HGCMSVCEXTHANDLEDATA *HGCMSVCEXTHANDLE; 38 35 39 __BEGIN_DECLS 36 40 int HGCMHostInit (void); … … 40 44 41 45 int HGCMHostLoad (const char *pszServiceName, const char *pszServiceLibrary); 46 47 int HGCMHostRegisterServiceExtension (HGCMSVCEXTHANDLE *pHandle, const char *pszServiceName, PFNHGCMSVCEXT pfnExtension, void *pvExtension); 48 void HGCMHostUnregisterServiceExtension (HGCMSVCEXTHANDLE handle); 42 49 43 50 int HGCMGuestConnect (PPDMIHGCMPORT pHGCMPort, PVBOXHGCMCMD pCmdPtr, const char *pszServiceName, uint32_t *pClientID);
Note:
See TracChangeset
for help on using the changeset viewer.