Changeset 33994 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Nov 11, 2010 2:26:08 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67658
- Location:
- trunk/src/VBox/HostServices/SharedFolders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/testcase/tstShflSizes.cpp
r33540 r33994 60 60 STRUCT(SHFLDIRINFO, 128); 61 61 STRUCT(SHFLVOLINFO, 40); 62 STRUCT(SHFLFSOBJATTR, 44); 63 STRUCT(SHFLFSOBJINFO, 92); 62 64 #ifdef VBOX_WITH_64_BITS_GUESTS 63 65 /* The size of the guest structures depends on the current architecture bit count (ARCH_BITS) -
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r33595 r33994 893 893 info.Attr.fMode |= 0111; 894 894 #endif 895 pParms->Info = info;895 vbfsCopyFsObjInfoFromIprt(&pParms->Info, &info); 896 896 } 897 897 pParms->Result = SHFL_FILE_EXISTS; … … 969 969 info.Attr.fMode |= 0111; 970 970 #endif 971 pParms->Info = info;971 vbfsCopyFsObjInfoFromIprt(&pParms->Info, &info); 972 972 } 973 973 } … … 1066 1066 if (RT_SUCCESS(rc)) 1067 1067 { 1068 pParms->Info = info;1068 vbfsCopyFsObjInfoFromIprt(&pParms->Info, &info); 1069 1069 } 1070 1070 } … … 1171 1171 info.Attr.fMode |= 0111; 1172 1172 #endif 1173 pParms->Info = info;1173 vbfsCopyFsObjInfoFromIprt(&pParms->Info, &info); 1174 1174 pParms->Result = SHFL_FILE_EXISTS; 1175 1175 break; … … 1573 1573 pDirEntry->Info.Attr.fMode |= 0111; 1574 1574 #endif 1575 pSFDEntry->Info = pDirEntry->Info;1575 vbfsCopyFsObjInfoFromIprt(&pSFDEntry->Info, &pDirEntry->Info); 1576 1576 pSFDEntry->cucShortName = 0; 1577 1577 … … 1891 1891 goto exit; 1892 1892 1893 rc = RTFsQueryProperties(pszFullPath, &pSFDEntry->fsProperties); 1893 RTFSPROPERTIES FsProperties; 1894 rc = RTFsQueryProperties(pszFullPath, &FsProperties); 1894 1895 if (rc != VINF_SUCCESS) 1895 1896 goto exit; 1897 vbfsCopyFsPropertiesFromIprt(&pSFDEntry->fsProperties, &FsProperties); 1896 1898 1897 1899 *pcbBuffer = sizeof(SHFLVOLINFO);
Note:
See TracChangeset
for help on using the changeset viewer.