VirtualBox

Changeset 41852 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 20, 2012 3:59:57 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78687
Message:

Additions/common and solaris/vboxmouse: large code drop.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGuest.h

    r41642 r41852  
    364364#define VBOXGUEST_IOCTL_SET_MOUSE_NOTIFY_CALLBACK   VBOXGUEST_IOCTL_CODE_(31, sizeof(VBoxGuestMouseSetNotifyCallback))
    365365
     366typedef DECLCALLBACK(void) FNVBOXGUESTMOUSENOTIFY(void *pfnUser);
     367typedef FNVBOXGUESTMOUSENOTIFY *PFNVBOXGUESTMOUSENOTIFY;
     368
    366369/** Input buffer for VBOXGUEST_IOCTL_INTERNAL_SET_MOUSE_NOTIFY_CALLBACK. */
    367370typedef struct VBoxGuestMouseSetNotifyCallback
     
    372375     * @param   pvUser      The callback argument.
    373376     */
    374     DECLR0CALLBACKMEMBER(void,  pfnNotify, (void *pvUser));
     377    PFNVBOXGUESTMOUSENOTIFY      pfnNotify;
    375378    /** The callback argument*/
    376379    void                       *pvUser;
  • trunk/include/VBox/VBoxGuestLib.h

    r40483 r41852  
    3131#include <VBox/VMMDev.h>     /* grumble */
    3232#ifdef IN_RING0
     33# include <VBox/VBoxGuest.h>
    3334# include <VBox/VBoxGuest2.h>
    3435#endif
     
    111112 */
    112113DECLVBGL(int) VbglInit (void);
     114
     115/**
     116 * Check whether the main VBoxGuest driver is loaded.  (The load order of guest
     117 * drivers is not guaranteed on all platforms.)
     118 */
     119DECLVBGL(bool) VbglIsReady(void);
    113120
    114121# endif
     
    392399DECLVBGL(int) VbglQueryVMMDevMemory (VMMDevMemory **ppVMMDevMemory);
    393400DECLR0VBGL(bool) VbglR0CanUsePhysPageList(void);
     401
     402# ifndef VBOX_GUEST
     403/** @name Mouse
     404 * @{ */
     405DECLVBGL(int)     VbglSetMouseNotifyCallback(PFNVBOXGUESTMOUSENOTIFY pfnNotify, void *pvUser);
     406DECLVBGL(int)     VbglGetMouseStatus(uint32_t *pfFeatures, uint32_t *px, uint32_t *py);
     407DECLVBGL(int)     VbglSetMouseStatus(uint32_t fFeatures);
     408/** @}  */
     409# endif /* VBOX_GUEST */
    394410
    395411#endif /* IN_RING0 && !IN_RING0_AGNOSTIC */
Note: See TracChangeset for help on using the changeset viewer.

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