- Timestamp:
- Mar 31, 2023 10:22:37 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156636
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r99120 r99253 263 263 * Retrieves information about a file system object. 264 264 */ 265 HOST_MSG_FS_ QUERY_INFO = 334,265 HOST_MSG_FS_OBJ_QUERY_INFO = 334, 266 266 /** 267 267 * Creates a temporary file or directory. … … 316 316 RT_CASE_RET_STR(HOST_MSG_SHUTDOWN); 317 317 #ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS 318 RT_CASE_RET_STR(HOST_MSG_FS_ QUERY_INFO);318 RT_CASE_RET_STR(HOST_MSG_FS_OBJ_QUERY_INFO); 319 319 RT_CASE_RET_STR(HOST_MSG_FS_CREATE_TEMP); 320 RT_CASE_RET_STR(HOST_MSG_FS_OBJ_MOVE); 320 321 #endif /* VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS */ 321 322 RT_CASE_RET_STR(HOST_MSG_32BIT_HACK); -
trunk/include/VBox/VBoxGuestLib.h
r99169 r99253 1098 1098 * @{ 1099 1099 */ 1100 VBGLR3DECL(int) VbglR3GuestCtrlFsGetQuery Info(PVBGLR3GUESTCTRLCMDCTX pCtx, char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib, uint32_t *pfFlags);1100 VBGLR3DECL(int) VbglR3GuestCtrlFsGetQueryObjInfo(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
r99169 r99253 1260 1260 #ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS 1261 1261 /** 1262 * Retrieves a HOST_MSG_FS_ QUERY_INFO message.1262 * Retrieves a HOST_MSG_FS_OBJ_QUERY_INFO message. 1263 1263 * 1264 1264 * @returns VBox status code. … … 1269 1269 * @param pfFlags Where to return the flags for . 1270 1270 */ 1271 VBGLR3DECL(int) VbglR3GuestCtrlFsGetQueryInfo(PVBGLR3GUESTCTRLCMDCTX pCtx, 1272 char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib, uint32_t *pfFlags) 1271 VBGLR3DECL(int) VbglR3GuestCtrlFsGetQueryObjInfo(PVBGLR3GUESTCTRLCMDCTX pCtx, 1272 char *pszPath, uint32_t cbPath, GSTCTLFSOBJATTRADD *penmAddAttrib, 1273 uint32_t *pfFlags) 1273 1274 { 1274 1275 AssertPtrReturn(pCtx, VERR_INVALID_POINTER); … … 1285 1286 HGCMMsgFsQueryInfo Msg; 1286 1287 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); 1288 1289 VbglHGCMParmPtrSet(&Msg.path, pszPath, cbPath); 1289 1290 VbglHGCMParmUInt32Set(&Msg.add_attributes, 0); -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r99147 r99253 1975 1975 1976 1976 #ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS 1977 static int vgsvcGstCtrlSessionHandleFsQuery Info(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx)1977 static int vgsvcGstCtrlSessionHandleFsQueryObjInfo(const PVBOXSERVICECTRLSESSION pSession, PVBGLR3GUESTCTRLCMDCTX pHostCtx) 1978 1978 { 1979 1979 AssertPtrReturn(pSession, VERR_INVALID_POINTER); … … 1988 1988 RTFSOBJINFO objInfoRuntime; 1989 1989 1990 int rc = VbglR3GuestCtrlFsGetQuery Info(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags);1990 int rc = VbglR3GuestCtrlFsGetQueryObjInfo(pHostCtx, szPath, sizeof(szPath), &enmAttrAdd, &fFlags); 1991 1991 if (RT_SUCCESS(rc)) 1992 1992 { … … 2232 2232 2233 2233 #ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS 2234 case HOST_MSG_FS_ QUERY_INFO:2234 case HOST_MSG_FS_OBJ_QUERY_INFO: 2235 2235 if (fImpersonated) 2236 rc = vgsvcGstCtrlSessionHandleFsQuery Info(pSession, pHostCtx);2236 rc = vgsvcGstCtrlSessionHandleFsQueryObjInfo(pSession, pHostCtx); 2237 2237 break; 2238 2238 -
trunk/src/VBox/HostServices/GuestControl/VBoxGuestControlSvc.cpp
r99120 r99253 1661 1661 break; 1662 1662 #ifdef VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS 1663 case HOST_MSG_FS_ QUERY_INFO:1663 case HOST_MSG_FS_OBJ_QUERY_INFO: 1664 1664 RT_FALL_THROUGH(); 1665 1665 case HOST_MSG_FS_CREATE_TEMP: -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r99252 r99253 2108 2108 alock.release(); /* Drop lock before sending. */ 2109 2109 2110 vrc = i_sendMessage(HOST_MSG_FS_ QUERY_INFO, i, paParms);2110 vrc = i_sendMessage(HOST_MSG_FS_OBJ_QUERY_INFO, i, paParms); 2111 2111 if (RT_SUCCESS(vrc)) 2112 2112 {
Note:
See TracChangeset
for help on using the changeset viewer.