Changeset 35985 in vbox
- Timestamp:
- Feb 15, 2011 4:31:55 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/include/VBox/RemoteDesktop/VRDE.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/RemoteDesktop/VRDE.h
r35939 r35985 966 966 967 967 /** The VRDE server entry points. Interface version 3. 968 * A new entry point VRDEhas been added relative to version 2.968 * New entry points VRDEAudioInOpen and VRDEAudioInClose has been added relative to version 2. 969 969 */ 970 970 typedef struct _VRDEENTRYPOINTS_3 … … 1416 1416 uint32_t cbData)); 1417 1417 } VRDECALLBACKS_3; 1418 1419 /** The VRDE server entry points. Interface version 4. 1420 * New entry point VRDEGetInterface has been added relative to version 3. 1421 */ 1422 typedef struct _VRDEENTRYPOINTS_4 1423 { 1424 /* The header. */ 1425 VRDEINTERFACEHDR header; 1426 1427 /* 1428 * Same as version 3. See comment in VRDEENTRYPOINTS_3. 1429 */ 1430 1431 DECLR3CALLBACKMEMBER(void, VRDEDestroy,(HVRDESERVER hServer)); 1432 DECLR3CALLBACKMEMBER(int, VRDEEnableConnections,(HVRDESERVER hServer, bool fEnable)); 1433 DECLR3CALLBACKMEMBER(void, VRDEDisconnect,(HVRDESERVER hServer, uint32_t u32ClientId, bool fReconnect)); 1434 DECLR3CALLBACKMEMBER(void, VRDEResize,(HVRDESERVER hServer)); 1435 DECLR3CALLBACKMEMBER(void, VRDEUpdate,(HVRDESERVER hServer, unsigned uScreenId, void *pvUpdate, 1436 uint32_t cbUpdate)); 1437 DECLR3CALLBACKMEMBER(void, VRDEColorPointer,(HVRDESERVER hServer, const VRDECOLORPOINTER *pPointer)); 1438 DECLR3CALLBACKMEMBER(void, VRDEHidePointer,(HVRDESERVER hServer)); 1439 DECLR3CALLBACKMEMBER(void, VRDEAudioSamples,(HVRDESERVER hServer, const void *pvSamples, uint32_t cSamples, 1440 VRDEAUDIOFORMAT format)); 1441 DECLR3CALLBACKMEMBER(void, VRDEAudioVolume,(HVRDESERVER hServer, uint16_t u16Left, uint16_t u16Right)); 1442 DECLR3CALLBACKMEMBER(void, VRDEUSBRequest,(HVRDESERVER hServer, uint32_t u32ClientId, void *pvParm, 1443 uint32_t cbParm)); 1444 DECLR3CALLBACKMEMBER(void, VRDEClipboard,(HVRDESERVER hServer, uint32_t u32Function, uint32_t u32Format, 1445 void *pvData, uint32_t cbData, uint32_t *pcbActualRead)); 1446 DECLR3CALLBACKMEMBER(void, VRDEQueryInfo,(HVRDESERVER hServer, uint32_t index, void *pvBuffer, uint32_t cbBuffer, 1447 uint32_t *pcbOut)); 1448 DECLR3CALLBACKMEMBER(void, VRDERedirect,(HVRDESERVER hServer, uint32_t u32ClientId, const char *pszServer, 1449 const char *pszUser, const char *pszDomain, const char *pszPassword, 1450 uint32_t u32SessionId, const char *pszCookie)); 1451 DECLR3CALLBACKMEMBER(void, VRDEAudioInOpen,(HVRDESERVER hServer, void *pvCtx, uint32_t u32ClientId, 1452 VRDEAUDIOFORMAT audioFormat, uint32_t u32SamplesPerBlock)); 1453 DECLR3CALLBACKMEMBER(void, VRDEAudioInClose,(HVRDESERVER hServer, uint32_t u32ClientId)); 1454 1455 /** 1456 * Generic interface query. An interface is a set of entry points and callbacks. 1457 * It is not a reference counted interface. 1458 * 1459 * @param hServer Handle of VRDE server instance. 1460 * @param pszId String identifier of the interface, like uuid. 1461 * @param pInterface The interface structure to be initialized by the VRDE server. 1462 * Only VRDEINTERFACEHDR is initialized by the caller. 1463 * @param pCallbacks Callbacks required by the interface. The server makes a local copy. 1464 * @param pvContext The context to be used in callbacks. 1465 */ 1466 1467 int VRDEGetInterface(HVRDESERVER hServer, 1468 const char *pszId, 1469 VRDEINTERFACEHDR *pInterface, 1470 const VRDEINTERFACEHDR *pCallbacks, 1471 void *pvContext); 1472 } VRDEENTRYPOINTS_4; 1473 1418 1474 1419 1475 /**
Note:
See TracChangeset
for help on using the changeset viewer.

