- 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:
Alex Ionescu 2006-07-17 03:49:40 +00:00
parent 0957e22a49
commit 8db06b0b73

View file

@ -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: