VirtualBox

Ignore:
Timestamp:
Jul 25, 2011 9:02:17 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73087
Message:

GuestCtrl: Removed obsolete code for guest directory enumeration.

File:
1 edited

Legend:

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

    r37375 r38133  
    762762                                  (void *)(&data), sizeof(data));
    763763    }
    764     else if (   eFunction == GUEST_DIR_SEND_OPEN
    765              && cParms    == 2)
    766     {
    767         CALLBACKDATADIROPEN data;
    768         data.hdr.u32Magic = CALLBACKDATAMAGIC_DIR_OPEN;
    769         paParms[0].getUInt32(&data.hdr.u32ContextID);
    770 
    771         paParms[1].getUInt32(&data.u32Handle);
    772 
    773         if (mpfnHostCallback)
    774             rc = mpfnHostCallback(mpvHostData, eFunction,
    775                                   (void *)(&data), sizeof(data));
    776     }
    777     else if (   eFunction == GUEST_DIR_SEND_READ
    778              && cParms    == 3)
    779     {
    780         CALLBACKDATADIRREAD data;
    781         data.hdr.u32Magic = CALLBACKDATAMAGIC_DIR_READ;
    782         paParms[0].getUInt32(&data.hdr.u32ContextID);
    783 
    784         paParms[1].getUInt64(&data.u64NodeId);
    785         paParms[2].getString(&data.pszName, &data.cbName);
    786 
    787         if (mpfnHostCallback)
    788             rc = mpfnHostCallback(mpvHostData, eFunction,
    789                                   (void *)(&data), sizeof(data));
    790     }
    791764    else
    792765        rc = VERR_NOT_SUPPORTED;
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