VirtualBox

Changeset 79298 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 24, 2019 10:10:39 AM (6 years ago)
Author:
vboxsync
Message:

Main,VBoxService,GstCtrlSvc: Added functions for exchanging feature masks between guest and host so new features can more easily be added without resorting to version comparsion magic. Added alternative read and write completion notifications that includes the new file offset. Made sure RTFileReadAt and RTFileWriteAt are followed by a RTFileSeek call so we'll end up with the same file position regardless of guest OS. [fixes] bugref:9320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestControl/VBoxGuestControlSvc.cpp

    r79297 r79298  
    891891        , m_fLegacyMode(true)
    892892        , m_cPreparedSessions(0)
     893        , m_fGuestFeatures0(0)
     894        , m_fGuestFeatures1(0)
    893895    {
    894896        RTListInit(&m_PreparedSessions);
     
    11661168 * @param   hCall       The client's call handle.
    11671169 * @param   cParms      Number of parameters.
     1170 * @param   paParms     Array of parameters.
    11681171 */
    11691172int GstCtrlService::clientReportFeatures(ClientState *pClient, VBOXHGCMCALLHANDLE hCall,
     
    12161219 * @retval  VERR_WRONG_PARAMETER_COUNT
    12171220 *
    1218  * @param   pClient     The client state.
    12191221 * @param   hCall       The client's call handle.
    12201222 * @param   cParms      Number of parameters.
     1223 * @param   paParms     Array of parameters.
    12211224 */
    12221225int GstCtrlService::clientQueryFeatures(VBOXHGCMCALLHANDLE hCall, uint32_t cParms, VBOXHGCMSVCPARM paParms[])
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