VirtualBox

Ignore:
Timestamp:
Jul 19, 2012 12:21:49 PM (12 years ago)
Author:
vboxsync
Message:

Additions/common/VBoxGuestLib: pointer management API documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/Mouse.cpp

    r41852 r42227  
    2727#include "VBGLInternal.h"
    2828
     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 */
    2943DECLVBGL(int) VbglSetMouseNotifyCallback(PFNVBOXGUESTMOUSENOTIFY pfnNotify,
    3044                                         void *pvUser)
     
    4357}
    4458
     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 */
    4569DECLVBGL(int) VbglGetMouseStatus(uint32_t *pfFeatures, uint32_t *px,
    4670                                 uint32_t *py)
     
    7094}
    7195
     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 */
    72106DECLVBGL(int) VbglSetMouseStatus(uint32_t fFeatures)
    73107{
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette