Changeset 10555 in vbox
- Timestamp:
- Jul 11, 2008 8:42:57 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions/x11
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/vboxutils_68.c
r10541 r10555 122 122 } 123 123 #else 124 err = ioctl (pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST , hdrp);124 err = ioctl (pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST(0), hdrp); 125 125 #endif 126 126 if (err < 0) … … 150 150 "Unable to determine whether the virtual machine supports mouse pointer integration - request initialization failed with return code %d\n", rc); 151 151 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)) 153 153 { 154 154 vrc = VERR_FILE_IO_ERROR; -
trunk/src/VBox/Additions/x11/xmouse/VBoxUtils_68.c
r10541 r10555 122 122 req.pointerXPos = 0; 123 123 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) 125 125 { 126 126 ErrorF("Error sending mouse pointer capabilities to VMM! rc = %d (%s)\n", … … 146 146 return 1; 147 147 /* 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) 149 149 { 150 150 if (VBOX_SUCCESS(g_vmmreqMouseStatus->header.rc)) … … 185 185 req.pointerXPos = 0; 186 186 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) 188 188 { 189 189 ErrorF("ioctl to vboxadd module failed, rc = %d (%s)\n",
Note:
See TracChangeset
for help on using the changeset viewer.