VirtualBox

Changeset 10555 in vbox


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

More IOCTLs.

Location:
trunk/src/VBox/Additions/x11
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xgraphics/vboxutils_68.c

    r10541 r10555  
    122122    }
    123123#else
    124     err = ioctl (pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST, hdrp);
     124    err = ioctl (pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST(0), hdrp);
    125125#endif
    126126    if (err < 0)
     
    150150            "Unable to determine whether the virtual machine supports mouse pointer integration - request initialization failed with return code %d\n", rc);
    151151    if (   RT_SUCCESS(vrc)
    152         && (ioctl(pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST, (void*)&req) < 0))
     152        && (ioctl(pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST(0), (void*)&req) < 0))
    153153    {
    154154        vrc = VERR_FILE_IO_ERROR;
  • 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