From 049bbe3f12270ae2b8aee627a71e1bc35478796a Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 11 Sep 2009 15:08:22 +0900 Subject: [PATCH] ntdll: RtlpNtQueryValueKey takes 5 parameters. --- dlls/ntdll/reg.c | 2 +- dlls/ntdll/tests/reg.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/ntdll/reg.c b/dlls/ntdll/reg.c index d586ce35937..f9db5a68176 100644 --- a/dlls/ntdll/reg.c +++ b/dlls/ntdll/reg.c @@ -530,7 +530,7 @@ NTSTATUS WINAPI NtQueryValueKey( HANDLE handle, const UNICODE_STRING *name, * */ NTSTATUS WINAPI RtlpNtQueryValueKey( HANDLE handle, ULONG *result_type, PBYTE dest, - DWORD *result_len ) + DWORD *result_len, void *unknown ) { KEY_VALUE_PARTIAL_INFORMATION *info; UNICODE_STRING name; diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c index 730f818e88d..89f7c6894df 100644 --- a/dlls/ntdll/tests/reg.c +++ b/dlls/ntdll/tests/reg.c @@ -140,7 +140,7 @@ static NTSTATUS (WINAPI * pRtlUnicodeStringToAnsiString)(PSTRING, PUNICODE_STRIN static NTSTATUS (WINAPI * pRtlFreeHeap)(PVOID, ULONG, PVOID); static LPVOID (WINAPI * pRtlAllocateHeap)(PVOID,ULONG,ULONG); static NTSTATUS (WINAPI * pRtlZeroMemory)(PVOID, ULONG); -static NTSTATUS (WINAPI * pRtlpNtQueryValueKey)(HANDLE,ULONG*,PBYTE,DWORD*); +static NTSTATUS (WINAPI * pRtlpNtQueryValueKey)(HANDLE,ULONG*,PBYTE,DWORD*,void *); static HMODULE hntdll = 0; static int CurrentTest = 0; @@ -593,7 +593,7 @@ static void test_RtlpNtQueryValueKey(void) { NTSTATUS status; - status = pRtlpNtQueryValueKey(NULL, NULL, NULL, NULL); + status = pRtlpNtQueryValueKey(NULL, NULL, NULL, NULL, NULL); ok(status == STATUS_INVALID_HANDLE, "Expected STATUS_INVALID_HANDLE, got: 0x%08x\n", status); }