ntdll: RtlpNtQueryValueKey takes 5 parameters.
This commit is contained in:
parent
8c279bb80b
commit
049bbe3f12
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue