mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +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->
|
DirectoryInfo->TypeName.Buffer = ObjectHeader->
|
||||||
Type->Name.Buffer;
|
Type->Name.Buffer;
|
||||||
|
|
||||||
|
/* Set success */
|
||||||
|
Status = STATUS_SUCCESS;
|
||||||
|
|
||||||
/* Increase statistics */
|
/* Increase statistics */
|
||||||
TotalLength += Length;
|
TotalLength += Length;
|
||||||
DirectoryInfo++;
|
DirectoryInfo++;
|
||||||
|
@ -562,10 +565,10 @@ NtQueryDirectoryObject(IN HANDLE DirectoryHandle,
|
||||||
/* Increase the key by one */
|
/* Increase the key by one */
|
||||||
SkipEntries++;
|
SkipEntries++;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Move to the next directory */
|
/* Move to the next directory */
|
||||||
Entry = Entry->ChainLink;
|
Entry = Entry->ChainLink;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Quickie:
|
Quickie:
|
||||||
|
|
Loading…
Reference in a new issue