mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +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:
parent
0957e22a49
commit
8db06b0b73
1 changed files with 6 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue