=?UTF-8?Q?Michael=20M=C3=BCller=20?=: ntdll: Return success for TokenSessionId in NtSetInformationToken.

Alexandre Julliard julliard at winehq.org
Fri May 18 16:53:13 CDT 2018


Module: wine
Branch: master
Commit: de8d20436905a7394fd6fbbe1f312ffac7c2db2c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=de8d20436905a7394fd6fbbe1f312ffac7c2db2c

Author: Michael Müller <michael at fds-team.de>
Date:   Fri May 18 04:51:00 2018 +0000

ntdll: Return success for TokenSessionId in NtSetInformationToken.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/nt.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index c3f5df3..4ff9880 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -624,6 +624,20 @@ NTSTATUS WINAPI NtSetInformationToken(
         }
         SERVER_END_REQ;
         break;
+    case TokenSessionId:
+        if (TokenInformationLength < sizeof(DWORD))
+        {
+            ret = STATUS_INFO_LENGTH_MISMATCH;
+            break;
+        }
+        if (!TokenInformation)
+        {
+            ret = STATUS_ACCESS_VIOLATION;
+            break;
+        }
+        FIXME("TokenSessionId stub!\n");
+        ret = STATUS_SUCCESS;
+        break;
     default:
         FIXME("unimplemented class %u\n", TokenInformationClass);
         break;




More information about the wine-cvs mailing list