Changeset 107382 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Dec 19, 2024 1:55:07 PM (4 weeks ago)
- Location:
- trunk/src/VBox/Runtime/r3/nt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/nt/RTFileDelete-r3-nt.cpp
r107378 r107382 111 111 * 112 112 * See @bugref{10632}. 113 * 114 * Note! On NT4 the value later used for FileAttributeTagInformation was 115 * called FileObjectIdInformation, but fortunately that could only 116 * be set and will fail with STATUS_INVALID_INFO_CLASS when queried. 113 117 */ 114 118 FILE_ATTRIBUTE_TAG_INFORMATION TagInfo = {0, 0}; … … 134 138 } 135 139 } 136 else if ( rcNt == STATUS_INVALID_PARAMETER || rcNt == STATUS_NOT_IMPLEMENTED137 /** Needed for NT4. See @bugref{10826}. */138 || rcNt == STATUS_INVALID_INFO_CLASS )140 else if ( rcNt == STATUS_INVALID_PARAMETER 141 || rcNt == STATUS_NOT_IMPLEMENTED 142 || rcNt == STATUS_INVALID_INFO_CLASS /* NT4 and earlier */) 139 143 rcNt = STATUS_SUCCESS; 140 144 else -
trunk/src/VBox/Runtime/r3/nt/RTPathQueryInfo-nt.cpp
r106061 r107382 483 483 if (NT_SUCCESS(rcNt)) 484 484 { 485 /* Query tag information first in order to try re-open non-symlink reparse points. */ 485 /* Query tag information first in order to try re-open non-symlink reparse points. 486 Note! On NT4 the value later used for FileAttributeTagInformation was 487 called FileObjectIdInformation, but fortunately that could only 488 be set and will fail with STATUS_INVALID_INFO_CLASS when queried. */ 486 489 FILE_ATTRIBUTE_TAG_INFORMATION TagInfo; 487 490 rcNt = NtQueryInformationFile(hFile, &Ios, &TagInfo, sizeof(TagInfo), FileAttributeTagInformation); -
trunk/src/VBox/Runtime/r3/nt/direnum-r3-nt.cpp
r106497 r107382 182 182 183 183 /* 184 * We now need to check if we opened a symbolic directory link. 184 * We now need to check if we opened a symbolic directory link (W2K+; 185 * on NT4 this is FileObjectIdInformation but it can't be queried and 186 * should thus fail with STATUS_INVALID_INFO_CLASS). 185 187 * (These can be enumerated, but contains only '.' and '..'.) 186 188 */
Note:
See TracChangeset
for help on using the changeset viewer.