VirtualBox

Ignore:
Timestamp:
Nov 5, 2008 2:34:43 AM (16 years ago)
Author:
vboxsync
Message:

s/VBOX_SUCCESS/RT_SUCCESS/g s/VBOX_FAILURE/RT_FAILURE/g - VBOX_SUCCESS and VBOX_FAILURE have *NOT* been retired (because old habbits die hard) just sligtly deprecated.

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

Legend:

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

    r9252 r13835  
    5656
    5757    rc = VbglR3SetMouseStatus(VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE /* | VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR */);
    58     if (VBOX_FAILURE(rc))
     58    if (RT_FAILURE(rc))
    5959    {
    6060        ErrorF("Error sending mouse pointer capabilities to VMM! rc = %d (%s)\n",
  • trunk/src/VBox/Additions/x11/xmouse/VBoxUtils_68.c

    r10562 r13835  
    4444
    4545    rc = VbglR3SetMouseStatus(VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE | VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR);
    46     if (VBOX_FAILURE(rc))
     46    if (RT_FAILURE(rc))
    4747    {
    4848        ErrorF("Error sending mouse pointer capabilities to VMM! rc = %d (%s)\n",
     
    6464    AssertPtrReturn(puAbsYPos, VERR_INVALID_PARAMETER);
    6565    rc = VbglR3GetMouseStatus(NULL, &pointerXPos, &pointerYPos);
    66     if (VBOX_SUCCESS(rc))
     66    if (RT_SUCCESS(rc))
    6767    {
    6868        *puAbsXPos = pointerXPos;
     
    150150    if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(vmmdevGetRequestSize(VMMDevReq_GetMouseStatus)), (void*)g_vmmreqMouseStatus) >= 0)
    151151    {
    152         if (VBOX_SUCCESS(g_vmmreqMouseStatus->header.rc))
     152        if (RT_SUCCESS(g_vmmreqMouseStatus->header.rc))
    153153        {
    154154            /* does the host want absolute coordinates? */
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