VirtualBox

Ignore:
Timestamp:
Aug 31, 2011 8:45:29 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73787
Message:

Additions/common/VBoxGuest: mediate SET_MOUSE_STATUS in the kernel module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMouse.cpp

    r28800 r38592  
    7171VBGLR3DECL(int) VbglR3SetMouseStatus(uint32_t fFeatures)
    7272{
    73     VMMDevReqMouseStatus Req;
    74     vmmdevInitRequest(&Req.header, VMMDevReq_SetMouseStatus);
    75     Req.mouseFeatures = fFeatures;
    76     Req.pointerXPos = 0;
    77     Req.pointerYPos = 0;
    78     return vbglR3GRPerform(&Req.header);
     73    return vbglR3DoIOCtl(VBOXGUEST_IOCTL_SET_MOUSE_STATUS, &fFeatures,
     74                         sizeof(fFeatures));
    7975}
    8076
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette