Module: wine Branch: master Commit: 049bbe3f12270ae2b8aee627a71e1bc35478796a URL: http://source.winehq.org/git/wine.git/?a=commit;h=049bbe3f12270ae2b8aee627a7...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Fri Sep 11 15:08:22 2009 +0900
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 d586ce3..f9db5a6 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 730f818..89f7c68 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); }