VirtualBox

Changeset 99256 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Mar 31, 2023 12:40:07 PM (20 months ago)
Author:
vboxsync
Message:

Guest Control: More renaming; required for preparation of implementing querying guest file system information. bugref:10414

Location:
trunk/src/VBox/Additions/common
Files:
2 edited

Legend:

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

    r99253 r99256  
    12691269 * @param   pfFlags             Where to return the flags for .
    12701270 */
    1271 VBGLR3DECL(int) VbglR3GuestCtrlFsGetQueryObjInfo(PVBGLR3GUESTCTRLCMDCTX pCtx,
     1271VBGLR3DECL(int) VbglR3GuestCtrlFsObjGetQueryInfo(PVBGLR3GUESTCTRLCMDCTX pCtx,
    12721272                                                 char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib,
    12731273                                                 uint32_t *pfFlags)
     
    12841284    do
    12851285    {
    1286         HGCMMsgFsQueryInfo Msg;
     1286        HGCMMsgFsObjQueryInfo Msg;
    12871287        VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, vbglR3GuestCtrlGetMsgFunctionNo(pCtx->uClientID), pCtx->uNumParms);
    12881288        VbglHGCMParmUInt32Set(&Msg.context, HOST_MSG_FS_OBJ_QUERY_INFO);
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp

    r99253 r99256  
    19751975
    19761976#ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS
    1977 static int vgsvcGstCtrlSessionHandleFsQueryObjInfo(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx)
     1977static int vgsvcGstCtrlSessionHandleFsObjQueryInfo(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx)
    19781978{
    19791979    AssertPtrReturn(pSession, VERR_INVALID_POINTER);
     
    19881988    RTFSOBJINFO        objInfoRuntime;
    19891989
    1990     int rc = VbglR3GuestCtrlFsGetQueryObjInfo(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags);
     1990    int rc = VbglR3GuestCtrlFsObjGetQueryInfo(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags);
    19911991    if (RT_SUCCESS(rc))
    19921992    {
     
    20092009
    20102010        if (RT_FAILURE(rc))
    2011             VGSvcError("Invalid fsqueryinfo flags: %#x (%#x)\n", fFlags, fFlagsRuntime);
     2011            VGSvcError("Invalid fsobjqueryinfo flags: %#x (%#x)\n", fFlags, fFlagsRuntime);
    20122012
    20132013        if (RT_SUCCESS(rc))
     
    20532053        if (RT_FAILURE(rc2))
    20542054        {
    2055             VGSvcError("Failed to reply to fsqueryinfo request %Rrc, rc=%Rrc\n", rc, rc2);
     2055            VGSvcError("Failed to reply to fsobjquerinfo request %Rrc, rc=%Rrc\n", rc, rc2);
    20562056            if (RT_SUCCESS(rc))
    20572057                rc = rc2;
     
    20602060    else
    20612061    {
    2062         VGSvcError("Error fetching parameters for fsqueryinfo operation: %Rrc\n", rc);
     2062        VGSvcError("Error fetching parameters for fsobjqueryinfo operation: %Rrc\n", rc);
    20632063        VbglR3GuestCtrlMsgSkip(pHostCtx->uClientID, rc, UINT32_MAX);
    20642064    }
     
    22342234        case HOST_MSG_FS_OBJ_QUERY_INFO:
    22352235            if (fImpersonated)
    2236                 rc = vgsvcGstCtrlSessionHandleFsQueryObjInfo(pSession, pHostCtx);
     2236                rc = vgsvcGstCtrlSessionHandleFsObjQueryInfo(pSession, pHostCtx);
    22372237            break;
    22382238
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