2OOO, 19 October
NTSYSAPI NTSTATUS NTAPI
NtQueryValueKey(
IN HANDLE KeyHandle, IN PUNICODE_STRING ValueName, IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, OUT PVOID KeyValueInformation, IN ULONG Length, OUT PULONG ResultLength );
See ZwQueryValueKey in NT DDK or 2000 DDK for detailed description.