- Timestamp:
- Mar 31, 2023 12:40:07 PM (18 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
include/VBox/HostServices/GuestControlSvc.h (modified) (2 diffs)
-
include/VBox/VBoxGuestLib.h (modified) (1 diff)
-
src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp (modified) (2 diffs)
-
src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r99254 r99256 972 972 * Queries information for a file system object on the guest. 973 973 */ 974 typedef struct HGCMMsgFs QueryInfo974 typedef struct HGCMMsgFsObjQueryInfo 975 975 { 976 976 VBGLIOCHGCMCALL hdr; … … 983 983 /** Flags (GSTCTL_PATH_F_XXX). */ 984 984 HGCMFunctionParameter flags; 985 } HGCMMsgFs QueryInfo;985 } HGCMMsgFsObjQueryInfo; 986 986 #endif /* VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS */ 987 987 -
trunk/include/VBox/VBoxGuestLib.h
r99253 r99256 1098 1098 * @{ 1099 1099 */ 1100 VBGLR3DECL(int) VbglR3GuestCtrlFs GetQueryObjInfo(PVBGLR3GUESTCTRLCMDCTX pCtx, char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib, uint32_t *pfFlags);1100 VBGLR3DECL(int) VbglR3GuestCtrlFsObjGetQueryInfo(PVBGLR3GUESTCTRLCMDCTX pCtx, char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib, uint32_t *pfFlags); 1101 1101 VBGLR3DECL(int) VbglR3GuestCtrlFsGetCreateTemp(PVBGLR3GUESTCTRLCMDCTX pCtx, char *pszTemplate, uint32_t cbTemplate, char *pszPath, uint32_t cbPath, uint32_t *pfFlags, uint32_t *pfMode); 1102 1102 /** @} */ -
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp
r99253 r99256 1269 1269 * @param pfFlags Where to return the flags for . 1270 1270 */ 1271 VBGLR3DECL(int) VbglR3GuestCtrlFs GetQueryObjInfo(PVBGLR3GUESTCTRLCMDCTX pCtx,1271 VBGLR3DECL(int) VbglR3GuestCtrlFsObjGetQueryInfo(PVBGLR3GUESTCTRLCMDCTX pCtx, 1272 1272 char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib, 1273 1273 uint32_t *pfFlags) … … 1284 1284 do 1285 1285 { 1286 HGCMMsgFs QueryInfo Msg;1286 HGCMMsgFsObjQueryInfo Msg; 1287 1287 VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, vbglR3GuestCtrlGetMsgFunctionNo(pCtx->uClientID), pCtx->uNumParms); 1288 1288 VbglHGCMParmUInt32Set(&Msg.context, HOST_MSG_FS_OBJ_QUERY_INFO); -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r99253 r99256 1975 1975 1976 1976 #ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS 1977 static int vgsvcGstCtrlSessionHandleFs QueryObjInfo(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx)1977 static int vgsvcGstCtrlSessionHandleFsObjQueryInfo(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) 1978 1978 { 1979 1979 AssertPtrReturn(pSession, VERR_INVALID_POINTER); … … 1988 1988 RTFSOBJINFO objInfoRuntime; 1989 1989 1990 int rc = VbglR3GuestCtrlFs GetQueryObjInfo(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags);1990 int rc = VbglR3GuestCtrlFsObjGetQueryInfo(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags); 1991 1991 if (RT_SUCCESS(rc)) 1992 1992 { … … 2009 2009 2010 2010 if (RT_FAILURE(rc)) 2011 VGSvcError("Invalid fs queryinfo flags: %#x (%#x)\n", fFlags, fFlagsRuntime);2011 VGSvcError("Invalid fsobjqueryinfo flags: %#x (%#x)\n", fFlags, fFlagsRuntime); 2012 2012 2013 2013 if (RT_SUCCESS(rc)) … … 2053 2053 if (RT_FAILURE(rc2)) 2054 2054 { 2055 VGSvcError("Failed to reply to fs queryinfo request %Rrc, rc=%Rrc\n", rc, rc2);2055 VGSvcError("Failed to reply to fsobjquerinfo request %Rrc, rc=%Rrc\n", rc, rc2); 2056 2056 if (RT_SUCCESS(rc)) 2057 2057 rc = rc2; … … 2060 2060 else 2061 2061 { 2062 VGSvcError("Error fetching parameters for fs queryinfo operation: %Rrc\n", rc);2062 VGSvcError("Error fetching parameters for fsobjqueryinfo operation: %Rrc\n", rc); 2063 2063 VbglR3GuestCtrlMsgSkip(pHostCtx->uClientID, rc, UINT32_MAX); 2064 2064 } … … 2234 2234 case HOST_MSG_FS_OBJ_QUERY_INFO: 2235 2235 if (fImpersonated) 2236 rc = vgsvcGstCtrlSessionHandleFs QueryObjInfo(pSession, pHostCtx);2236 rc = vgsvcGstCtrlSessionHandleFsObjQueryInfo(pSession, pHostCtx); 2237 2237 break; 2238 2238
Note:
See TracChangeset
for help on using the changeset viewer.

