Commit 8e904f95 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ntdll: Stub TokenSessionId for query call.

parent e717a78a
......@@ -263,7 +263,7 @@ NTSTATUS WINAPI NtQueryInformationToken(
sizeof(SECURITY_IMPERSONATION_LEVEL), /* TokenImpersonationLevel */
sizeof(TOKEN_STATISTICS), /* TokenStatistics */
0, /* TokenRestrictedSids */
0, /* TokenSessionId */
sizeof(DWORD), /* TokenSessionId */
0, /* TokenGroupsAndPrivileges */
0, /* TokenSessionReference */
0, /* TokenSandBoxInert */
......@@ -521,6 +521,12 @@ NTSTATUS WINAPI NtQueryInformationToken(
elevation->TokenIsElevated = TRUE;
}
break;
case TokenSessionId:
{
*((DWORD*)tokeninfo) = 0;
FIXME("QueryInformationToken( ..., TokenSessionId, ...) semi-stub\n");
}
break;
default:
{
ERR("Unhandled Token Information class %d!\n", tokeninfoclass);
......
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