Changeset 35939 in vbox for trunk/include/VBox
- Timestamp:
- Feb 11, 2011 10:25:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/RemoteDesktop/VRDE.h
r35105 r35939 38 38 RT_C_DECLS_BEGIN 39 39 40 /* Forward declaration of the VRDE server instance handle. */ 40 /* Forward declaration of the VRDE server instance handle. 41 * This is an opaque pointer for VirtualBox. 42 * The VRDE library uses it as a pointer to some internal data. 43 */ 41 44 #ifdef __cplusplus 42 45 class VRDEServer; … … 647 650 * Send a update. 648 651 * 652 * Note: the server must access the framebuffer bitmap only when VRDEUpdate is called. 653 * If the have to access the bitmap later or from another thread, then 654 * it must used an intermediate buffer and copy the framebuffer data to the 655 * intermediate buffer in VRDEUpdate. 656 * 649 657 * @param hServer Handle of VRDE server instance. 650 658 * @param uScreenId The screen index. 651 * @param pvUpdate Pointer to V BoxGuest.h::VRDEORDERHDR structure with extra data.659 * @param pvUpdate Pointer to VRDEOrders.h::VRDEORDERHDR structure with extra data. 652 660 * @param cbUpdate Size of the update data. 653 661 */ … … 814 822 * Send a update. 815 823 * 824 * Note: the server must access the framebuffer bitmap only when VRDEUpdate is called. 825 * If the have to access the bitmap later or from another thread, then 826 * it must used an intermediate buffer and copy the framebuffer data to the 827 * intermediate buffer in VRDEUpdate. 828 * 816 829 * @param hServer Handle of VRDE server instance. 817 830 * @param uScreenId The screen index. 818 * @param pvUpdate Pointer to V BoxGuest.h::VRDEORDERHDR structure with extra data.831 * @param pvUpdate Pointer to VRDEOrders.h::VRDEORDERHDR structure with extra data. 819 832 * @param cbUpdate Size of the update data. 820 833 */ … … 961 974 962 975 /* 963 * Same as version 2. 976 * Same as version 2. See comment in VRDEENTRYPOINTS_2. 964 977 */ 965 978 … … 1055 1068 1056 1069 1057 #define VRDE_QP_NETWORK_PORT (1) 1058 #define VRDE_QP_NETWORK_ADDRESS (2) 1059 #define VRDE_QP_NUMBER_MONITORS (3) 1060 #define VRDE_QP_NETWORK_PORT_RANGE (4) 1070 /* Indexes for VRDECallbackProperty. 1071 * *_QP_* queries a property. 1072 * *_SP_* sets a property. 1073 */ 1074 #define VRDE_QP_NETWORK_PORT (1) /* Obsolete. Use VRDE_QP_NETWORK_PORT_RANGE instead. */ 1075 #define VRDE_QP_NETWORK_ADDRESS (2) /* UTF8 string. Host network interface IP address to bind to. */ 1076 #define VRDE_QP_NUMBER_MONITORS (3) /* 32 bit. Number of monitors in the VM. */ 1077 #define VRDE_QP_NETWORK_PORT_RANGE (4) /* UTF8 string. List of ports. The server must bind to one of 1078 * free ports from the list. Example: "3000,3010-3012,4000", 1079 * which tells the server to bind to either of ports: 1080 * 3000, 3010, 3011, 3012, 4000. 1081 */ 1061 1082 #ifdef VBOX_WITH_VRDP_VIDEO_CHANNEL 1062 1083 #define VRDE_QP_VIDEO_CHANNEL (5) … … 1064 1085 #define VRDE_QP_VIDEO_CHANNEL_SUNFLSH (7) 1065 1086 #endif /* VBOX_WITH_VRDP_VIDEO_CHANNEL */ 1066 #define VRDE_QP_FEATURE (8) 1087 #define VRDE_QP_FEATURE (8) /* VRDEFEATURE structure. Generic interface to query named VRDE properties. */ 1067 1088 1068 1089 #define VRDE_SP_BASE 0x1000 1069 #define VRDE_SP_NETWORK_BIND_PORT (VRDE_SP_BASE + 1) 1090 #define VRDE_SP_NETWORK_BIND_PORT (VRDE_SP_BASE + 1) /* 32 bit. The port number actually used by the server. 1091 * If VRDECreateServer fails, it should set the port to 0. 1092 * If VRDECreateServer succeeds, then the port must be set 1093 * in VRDEEnableConnections to the actually used value. 1094 * VRDEDestroy must set the port to 0xFFFFFFFF. 1095 */ 1070 1096 1071 1097 #pragma pack(1) … … 1165 1191 const char *pszDomain)); 1166 1192 1167 /* The client has been successfully connected. 1193 /* The client has been successfully connected. That is logon was successful and the 1194 * remote desktop protocol connection completely established. 1168 1195 * 1169 1196 * @param pvCallback The callback specific pointer. … … 1250 1277 VRDEFRAMEBUFFERINFO *pInfo)); 1251 1278 1252 /* The framebuffer is locked. 1279 /* Request the exclusive access to the framebuffer bitmap. 1280 * Currently not used because VirtualBox makes sure that the framebuffer is available 1281 * when VRDEUpdate is called. 1253 1282 * 1254 1283 * @param pvCallback The callback specific pointer. … … 1258 1287 unsigned uScreenId)); 1259 1288 1260 /* The framebuffer is unlocked. 1289 /* Release the exclusive access to the framebuffer bitmap. 1290 * Currently not used because VirtualBox makes sure that the framebuffer is available 1291 * when VRDEUpdate is called. 1261 1292 * 1262 1293 * @param pvCallback The callback specific pointer. … … 1303 1334 1304 1335 /* 1305 * Same as in version 2.1336 * Same as in version 1 and 2. See comment in VRDECALLBACKS_1. 1306 1337 */ 1307 1338 DECLR3CALLBACKMEMBER(int, VRDECallbackProperty,(void *pvCallback, … … 1419 1450 * List of names of the VRDE properties, which are recognized by the VRDE. 1420 1451 * 1452 * For example VRDESupportedProperties should return gapszProperties declared as: 1453 * 1454 * static const char * const gapszProperties[] = 1455 * { 1456 * "TCP/Ports", 1457 * "TCP/Address", 1458 * NULL 1459 * }; 1460 * 1421 1461 * @returns pointer to array of pointers to name strings (UTF8). 1422 1462 */
Note:
See TracChangeset
for help on using the changeset viewer.