Changeset 80518 in vbox for trunk/src/VBox/Runtime/common/vfs
- Timestamp:
- Aug 30, 2019 5:25:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp
r79155 r80518 3208 3208 3209 3209 3210 RTDECL(int) RTVfsDirRewind(RTVFSDIR hVfsDir) 3211 { 3212 /* 3213 * Validate input. 3214 */ 3215 RTVFSDIRINTERNAL *pThis = hVfsDir; 3216 AssertPtrReturn(pThis, VERR_INVALID_HANDLE); 3217 AssertReturn(pThis->uMagic == RTVFSDIR_MAGIC, VERR_INVALID_HANDLE); 3218 3219 /* 3220 * Call the directory method. 3221 */ 3222 RTVfsLockAcquireRead(pThis->Base.hLock); 3223 int rc = pThis->pOps->pfnRewindDir(pThis->Base.pvThis); 3224 RTVfsLockReleaseRead(pThis->Base.hLock); 3225 return rc; 3226 } 3227 3228 3210 3229 /* 3211 3230 *
Note:
See TracChangeset
for help on using the changeset viewer.