VirtualBox

Ignore:
Timestamp:
Aug 25, 2009 8:40:15 PM (15 years ago)
Author:
vboxsync
Message:

Additions/WINNT: re-enable the host mouse cursor when the guest requests it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/pointer.c

    r22412 r22446  
    116116    else
    117117    {
    118         NewPointerPosition.Column = (SHORT) x - (SHORT) (ppdev->ptlHotSpot.x);
    119         NewPointerPosition.Row    = (SHORT) y - (SHORT) (ppdev->ptlHotSpot.y);
    120 
    121         //
    122         // Call miniport driver to move Pointer.
    123         //
    124 
    125118        if (EngDeviceIoControl(ppdev->hDriver,
    126                                IOCTL_VIDEO_SET_POINTER_POSITION,
    127                                &NewPointerPosition,
    128                                sizeof(VIDEO_POINTER_POSITION),
     119                               IOCTL_VIDEO_ENABLE_POINTER,
     120                               NULL,
     121                               0,
    129122                               NULL,
    130123                               0,
     
    135128            //
    136129
    137             DISPDBG((1, "DISP vMoveHardwarePointer failed IOCTL_VIDEO_SET_POINTER_POSITION\n"));
     130            DISPDBG((1, "DISP vMoveHardwarePointer failed IOCTL_VIDEO_ENABLE_POINTER\n"));
    138131        }
    139132    }
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