VirtualBox

Changeset 99253 in vbox for trunk/src


Ignore:
Timestamp:
Mar 31, 2023 10:22:37 AM (22 months ago)
Author:
vboxsync
Message:

Guest Control: Renamed HOST_MSG_FS_QUERY_INFO -> HOST_MSG_FS_QUERY_INFO, to not confuse file system object information (files, directories, ++) with actual file system information. Required for preparation of implementing querying guest file system information. bugref:10414

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp

    r99169 r99253  
    12601260#ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS
    12611261/**
    1262  * Retrieves a HOST_MSG_FS_QUERY_INFO message.
     1262 * Retrieves a HOST_MSG_FS_OBJ_QUERY_INFO message.
    12631263 *
    12641264 * @returns VBox status code.
     
    12691269 * @param   pfFlags             Where to return the flags for .
    12701270 */
    1271 VBGLR3DECL(int) VbglR3GuestCtrlFsGetQueryInfo(PVBGLR3GUESTCTRLCMDCTX pCtx,
    1272                                               char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib, uint32_t *pfFlags)
     1271VBGLR3DECL(int) VbglR3GuestCtrlFsGetQueryObjInfo(PVBGLR3GUESTCTRLCMDCTX pCtx,
     1272                                                 char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib,
     1273                                                 uint32_t *pfFlags)
    12731274{
    12741275    AssertPtrReturn(pCtx, VERR_INVALID_POINTER);
     
    12851286        HGCMMsgFsQueryInfo Msg;
    12861287        VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, vbglR3GuestCtrlGetMsgFunctionNo(pCtx->uClientID), pCtx->uNumParms);
    1287         VbglHGCMParmUInt32Set(&Msg.context, HOST_MSG_FS_QUERY_INFO);
     1288        VbglHGCMParmUInt32Set(&Msg.context, HOST_MSG_FS_OBJ_QUERY_INFO);
    12881289        VbglHGCMParmPtrSet(&Msg.path, pszPath, cbPath);
    12891290        VbglHGCMParmUInt32Set(&Msg.add_attributes, 0);
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp

    r99147 r99253  
    19751975
    19761976#ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS
    1977 static int vgsvcGstCtrlSessionHandleFsQueryInfo(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx)
     1977static int vgsvcGstCtrlSessionHandleFsQueryObjInfo(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx)
    19781978{
    19791979    AssertPtrReturn(pSession, VERR_INVALID_POINTER);
     
    19881988    RTFSOBJINFO        objInfoRuntime;
    19891989
    1990     int rc = VbglR3GuestCtrlFsGetQueryInfo(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags);
     1990    int rc = VbglR3GuestCtrlFsGetQueryObjInfo(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags);
    19911991    if (RT_SUCCESS(rc))
    19921992    {
     
    22322232
    22332233#ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS
    2234         case HOST_MSG_FS_QUERY_INFO:
     2234        case HOST_MSG_FS_OBJ_QUERY_INFO:
    22352235            if (fImpersonated)
    2236                 rc = vgsvcGstCtrlSessionHandleFsQueryInfo(pSession, pHostCtx);
     2236                rc = vgsvcGstCtrlSessionHandleFsQueryObjInfo(pSession, pHostCtx);
    22372237            break;
    22382238
  • trunk/src/VBox/HostServices/GuestControl/VBoxGuestControlSvc.cpp

    r99120 r99253  
    16611661                        break;
    16621662#ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS
    1663                     case HOST_MSG_FS_QUERY_INFO:
     1663                    case HOST_MSG_FS_OBJ_QUERY_INFO:
    16641664                        RT_FALL_THROUGH();
    16651665                    case HOST_MSG_FS_CREATE_TEMP:
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r99252 r99253  
    21082108        alock.release(); /* Drop lock before sending. */
    21092109
    2110         vrc = i_sendMessage(HOST_MSG_FS_QUERY_INFO, i, paParms);
     2110        vrc = i_sendMessage(HOST_MSG_FS_OBJ_QUERY_INFO, i, paParms);
    21112111        if (RT_SUCCESS(vrc))
    21122112        {
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