VirtualBox

Ignore:
Timestamp:
Jul 11, 2008 8:42:57 PM (16 years ago)
Author:
vboxsync
Message:

More IOCTLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xmouse/VBoxUtils_68.c

    r10541 r10555  
    122122    req.pointerXPos = 0;
    123123    req.pointerYPos = 0;
    124     if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST, (void*)&req) < 0)
     124    if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(0), (void*)&req) < 0)
    125125    {
    126126        ErrorF("Error sending mouse pointer capabilities to VMM! rc = %d (%s)\n",
     
    146146        return 1;
    147147    /* perform VMM request */
    148     if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST, (void*)g_vmmreqMouseStatus) >= 0)
     148    if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(0), (void*)g_vmmreqMouseStatus) >= 0)
    149149    {
    150150        if (VBOX_SUCCESS(g_vmmreqMouseStatus->header.rc))
     
    185185    req.pointerXPos = 0;
    186186    req.pointerYPos = 0;
    187     if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST, (void*)&req) < 0)
     187    if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(0), (void*)&req) < 0)
    188188    {
    189189        ErrorF("ioctl to vboxadd module failed, rc = %d (%s)\n",
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