Changeset 53965 in vbox for trunk/include/VBox/VBoxVideo.h
- Timestamp:
- Jan 26, 2015 8:37:10 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97864
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r53846 r53965 857 857 #define VBVA_CMDVBVA_CTL 18 /* G->H DMA command */ 858 858 #define VBVA_QUERY_MODE_HINTS 19 /* Query most recent mode hints sent. */ 859 /** Report the guest virtual desktop position and size for mapping host and 860 * guest pointer positions. */ 861 #define VBVA_REPORT_INPUT_MAPPING 20 862 /** Report the guest cursor position and query the host position. */ 863 #define VBVA_CURSOR_POSITION 21 859 864 860 865 /* host->guest commands */ … … 915 920 * Set value to VERR_NOT_SUPPORTED before calling. */ 916 921 #define VBOX_VBVA_CONF32_MODE_HINT_REPORTING 2 922 /** Returns VINF_SUCCESS if the host can receive guest cursor information via 923 * VBVA. Set value to VERR_NOT_SUPPORTED before calling. */ 924 #define VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING 3 925 /** Returns the currently available host cursor capabilities. Available if 926 * VBVACONF32::VBOX_VBVA_CONF32_GUEST_CURSOR_REPORTING returns success. 927 * @see VMMDevReqMouseStatus::mouseFeatures. */ 928 #define VBOX_VBVA_CONF32_CURSOR_CAPABILITIES 4 917 929 918 930 typedef struct VBVACONF32 … … 1083 1095 /** The guest can read video mode hints sent via VBVA. */ 1084 1096 #define VBVACAPS_VIDEO_MODE_HINTS 0x00000004 1097 /** The guest can switch to a software cursor on demand. */ 1098 #define VBVACAPS_DISABLE_CURSOR_INTEGRATION 0x00000008 1085 1099 typedef struct VBVACAPS 1086 1100 { … … 1147 1161 1148 1162 #define VBVAMODEHINT_MAGIC UINT32_C(0x0801add9) 1163 1164 /** Report the rectangle relative to which absolute pointer events should be 1165 * expressed. This information remains valid until the next VBVA resize event 1166 * for any screen, at which time it is reset to the bounding rectangle of all 1167 * virtual screens. 1168 * @see VBVA_REPORT_INPUT_MAPPING. */ 1169 typedef struct VBVAREPORTINPUTMAPPING 1170 { 1171 int32_t x; /**< Upper left X co-ordinate relative to the first screen. */ 1172 int32_t y; /**< Upper left Y co-ordinate relative to the first screen. */ 1173 uint32_t cx; /**< Rectangle width. */ 1174 uint32_t cy; /**< Rectangle height. */ 1175 } VBVAREPORTINPUTMAPPING; 1176 1177 /** Report the guest cursor position and query the host one. The host may wish 1178 * to use the guest information to re-position its own cursor (though this is 1179 * currently unlikely). 1180 * @see VBVA_CURSOR_POSITION */ 1181 typedef struct VBVACURSORPOSITION 1182 { 1183 uint32_t fReportPosition; /**< Are we reporting a position? */ 1184 uint32_t x; /**< Guest cursor X position */ 1185 uint32_t y; /**< Guest cursor Y position */ 1186 } VBVACURSORPOSITION; 1149 1187 1150 1188 #pragma pack()
Note:
See TracChangeset
for help on using the changeset viewer.