Andrew Wesie : ntdll: Stub for ProcessCookie in NtQueryInformationProcess.
Alexandre Julliard
julliard at winehq.org
Mon Sep 17 15:02:25 CDT 2018
Module: wine
Branch: master
Commit: 86878fe00bcae8dffe0e85ac8607d9be4d863d8d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=86878fe00bcae8dffe0e85ac8607d9be4d863d8d
Author: Andrew Wesie <awesie at gmail.com>
Date: Sun Sep 16 23:24:25 2018 +0000
ntdll: Stub for ProcessCookie in NtQueryInformationProcess.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/process.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/dlls/ntdll/process.c b/dlls/ntdll/process.c
index b299287..c5057da 100644
--- a/dlls/ntdll/process.c
+++ b/dlls/ntdll/process.c
@@ -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,
More information about the wine-cvs
mailing list