ntdll: Stub TokenSessionId for query call.

This commit is contained in:
Nikolay Sivov 2011-08-09 01:27:22 +04:00 committed by Alexandre Julliard
parent e717a78afe
commit 8e904f95c3
1 changed files with 7 additions and 1 deletions

View File

@ -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);