- Timestamp:
- Apr 8, 2019 12:15:00 PM (6 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestSessionImpl.h
r77587 r78038 283 283 inline bool i_directoryExists(uint32_t uDirID, ComObjPtr<GuestDirectory> *pDir); 284 284 int i_directoryUnregister(GuestDirectory *pDirectory); 285 int i_directoryRemove(const Utf8Str &strPath, uint32_t uFlags, int *pGuestRc);285 int i_directoryRemove(const Utf8Str &strPath, uint32_t fFlags, int *pGuestRc); 286 286 int i_directoryCreate(const Utf8Str &strPath, uint32_t uMode, uint32_t uFlags, int *pGuestRc); 287 287 int i_directoryOpen(const GuestDirectoryOpenInfo &openInfo, -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r77587 r78038 1023 1023 } 1024 1024 1025 int GuestSession::i_directoryRemove(const Utf8Str &strPath, uint32_t uFlags, int *prcGuest)1026 { 1027 AssertReturn(!( uFlags & ~DIRREMOVEREC_FLAG_VALID_MASK), VERR_INVALID_PARAMETER);1025 int GuestSession::i_directoryRemove(const Utf8Str &strPath, uint32_t fFlags, int *prcGuest) 1026 { 1027 AssertReturn(!(fFlags & ~DIRREMOVEREC_FLAG_VALID_MASK), VERR_INVALID_PARAMETER); 1028 1028 AssertPtrReturn(prcGuest, VERR_INVALID_POINTER); 1029 1029 1030 LogFlowThisFunc(("strPath=%s, uFlags=0x%x\n", strPath.c_str(), uFlags));1030 LogFlowThisFunc(("strPath=%s, uFlags=0x%x\n", strPath.c_str(), fFlags)); 1031 1031 1032 1032 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); … … 1043 1043 HGCMSvcSetPv(&paParms[i++], (void*)strPath.c_str(), 1044 1044 (ULONG)strPath.length() + 1); 1045 HGCMSvcSetU32(&paParms[i++], uFlags);1045 HGCMSvcSetU32(&paParms[i++], fFlags); 1046 1046 1047 1047 alock.release(); /* Drop write lock before sending. */ … … 3465 3465 3466 3466 /* No flags; only remove the directory when empty. */ 3467 uint32_t uFlags = 0;3467 uint32_t fFlags = DIRREMOVEREC_FLAG_NONE; 3468 3468 3469 3469 int rcGuest; 3470 int vrc = i_directoryRemove(aPath, uFlags, &rcGuest);3470 int vrc = i_directoryRemove(aPath, fFlags, &rcGuest); 3471 3471 if (RT_FAILURE(vrc)) 3472 3472 {
Note:
See TracChangeset
for help on using the changeset viewer.