Changeset 107382 in vbox
- Timestamp:
- Dec 19, 2024 1:55:07 PM (4 weeks ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nt/nt.h
r106494 r107382 2480 2480 FileMailslotSetInformation, 2481 2481 FileCompressionInformation, 2482 FileObjectIdInformation, 2482 /* NT351 and NT4 have different stuff assigned from here on. */ 2483 FileObjectIdInformation, /**< NT4 and earlier has FileCopyOnWriteInformation here - only for setting, not querying. */ 2483 2484 FileCompletionInformation, 2484 2485 FileMoveClusterInformation, 2485 FileQuotaInformation, 2486 FileReparsePointInformation, 2486 FileQuotaInformation, /**< NT35 has FileStorageInformation here (query+set) and NT4 FileOleClassIdInformation (set only). Last for NT35. */ 2487 FileReparsePointInformation, /**< NT4 has FileOleStateBitsInformation here (set only). */ 2487 2488 FileNetworkOpenInformation, 2488 FileAttributeTagInformation, 2489 FileTrackingInformation, 2490 FileIdBothDirectoryInformation, 2491 FileIdFullDirectoryInformation, 2492 FileValidDataLengthInformation, 2493 FileShortNameInformation, 2489 FileAttributeTagInformation, /**< NT4 has FileObjectIdInformation here (set only). */ 2490 FileTrackingInformation, /**< NT4 has FileOleAllInformation here (query only). Last for W2K. */ 2491 FileIdBothDirectoryInformation, /**< NT4 has FileOleDirectoryInformation here (dir query only). */ 2492 FileIdFullDirectoryInformation, /**< NT4 has FileContentIndexInformation here (set only). */ 2493 FileValidDataLengthInformation, /**< NT4 has FileInheritContentIndexInformation here (set only). */ 2494 FileShortNameInformation, /**< NT4 has FileOleInformation here (query + set). Last for NT4. */ 2494 2495 FileIoCompletionNotificationInformation, 2495 2496 FileIoStatusBlockRangeInformation, -
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.