ntdll: Stub for ProcessCookie in NtQueryInformationProcess.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1593f146ec
commit
86878fe00b
|
@ -572,6 +572,22 @@ NTSTATUS WINAPI NtQueryInformationProcess(
|
|||
else
|
||||
ret = STATUS_INFO_LENGTH_MISMATCH;
|
||||
break;
|
||||
case ProcessCookie:
|
||||
FIXME("ProcessCookie (%p,%p,0x%08x,%p) stub\n",
|
||||
ProcessHandle,ProcessInformation,
|
||||
ProcessInformationLength,ReturnLength);
|
||||
|
||||
if(ProcessHandle == NtCurrentProcess())
|
||||
{
|
||||
len = sizeof(ULONG);
|
||||
if (ProcessInformationLength == len)
|
||||
*(ULONG *)ProcessInformation = 0;
|
||||
else
|
||||
ret = STATUS_INFO_LENGTH_MISMATCH;
|
||||
}
|
||||
else
|
||||
ret = STATUS_INVALID_PARAMETER;
|
||||
break;
|
||||
default:
|
||||
FIXME("(%p,info_class=%d,%p,0x%08x,%p) Unknown information class\n",
|
||||
ProcessHandle,ProcessInformationClass,
|
||||
|
|
Loading…
Reference in New Issue