Changeset 42227 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib/Mouse.cpp
- Timestamp:
- Jul 19, 2012 12:21:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/Mouse.cpp
r41852 r42227 27 27 #include "VBGLInternal.h" 28 28 29 /** 30 * Sets the function which is called back on each mouse pointer event. Only 31 * one callback can be active at once, so if you need several for any reason 32 * you must multiplex yourself. Call backs can be disabled by passing NULL 33 * as the function pointer. 34 * 35 * @remarks Ring-0. 36 * @returns iprt status code. 37 * @returns VERR_TRY_AGAIN if the main guest driver hasn't finished 38 * initialising. 39 * 40 * @param pfnNotify the function to call back. NULL to disable call backs. 41 * @param pvUser user supplied data/cookie to be passed to the function. 42 */ 29 43 DECLVBGL(int) VbglSetMouseNotifyCallback(PFNVBOXGUESTMOUSENOTIFY pfnNotify, 30 44 void *pvUser) … … 43 57 } 44 58 59 /** 60 * Retrieve mouse coordinates and features from the host. 61 * 62 * @remarks Ring-0. 63 * @returns VBox status code. 64 * 65 * @param pfFeatures Where to store the mouse features. 66 * @param px Where to store the X co-ordinate. 67 * @param py Where to store the Y co-ordinate. 68 */ 45 69 DECLVBGL(int) VbglGetMouseStatus(uint32_t *pfFeatures, uint32_t *px, 46 70 uint32_t *py) … … 70 94 } 71 95 96 /** 97 * Send mouse features to the host. 98 * 99 * @remarks Ring-0. 100 * @returns VBox status code. 101 * 102 * @param fFeatures Supported mouse pointer features. The main guest driver 103 * will mediate different callers and show the host any 104 * feature enabled by any guest caller. 105 */ 72 106 DECLVBGL(int) VbglSetMouseStatus(uint32_t fFeatures) 73 107 {
Note:
See TracChangeset
for help on using the changeset viewer.