Commit 86878fe0 authored by Andrew Wesie's avatar Andrew Wesie Committed by Alexandre Julliard

ntdll: Stub for ProcessCookie in NtQueryInformationProcess.

parent 1593f146
...@@ -572,6 +572,22 @@ NTSTATUS WINAPI NtQueryInformationProcess( ...@@ -572,6 +572,22 @@ NTSTATUS WINAPI NtQueryInformationProcess(
else else
ret = STATUS_INFO_LENGTH_MISMATCH; ret = STATUS_INFO_LENGTH_MISMATCH;
break; 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: default:
FIXME("(%p,info_class=%d,%p,0x%08x,%p) Unknown information class\n", FIXME("(%p,info_class=%d,%p,0x%08x,%p) Unknown information class\n",
ProcessHandle,ProcessInformationClass, ProcessHandle,ProcessInformationClass,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment