mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
- Fix two small bugs in NtQueryDirectoryObject.
- RDISK Count, Windowstation list enumeration now work on startup. - Explorer's object viewer now works again. svn path=/trunk/; revision=23114
This commit is contained in:
@@ -551,6 +551,9 @@ NtQueryDirectoryObject(IN HANDLE DirectoryHandle,
|
||||
DirectoryInfo->TypeName.Buffer = ObjectHeader->
|
||||
Type->Name.Buffer;
|
||||
|
||||
/* Set success */
|
||||
Status = STATUS_SUCCESS;
|
||||
|
||||
/* Increase statistics */
|
||||
TotalLength += Length;
|
||||
DirectoryInfo++;
|
||||
@@ -562,10 +565,10 @@ NtQueryDirectoryObject(IN HANDLE DirectoryHandle,
|
||||
/* Increase the key by one */
|
||||
SkipEntries++;
|
||||
}
|
||||
}
|
||||
|
||||
/* Move to the next directory */
|
||||
Entry = Entry->ChainLink;
|
||||
/* Move to the next directory */
|
||||
Entry = Entry->ChainLink;
|
||||
}
|
||||
}
|
||||
|
||||
Quickie:
|
||||
|
||||
Reference in New Issue
Block a user