From 48f3335ffaf86bcfca7bd2149d8beef5846fe336 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sun, 14 Nov 2010 19:04:55 +0100 Subject: [PATCH] ntdll: Add semi stub for TokenElevationType in NtQueryInformationToken. --- dlls/ntdll/nt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 13beb74d9de..ba4202fb7a5 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -269,7 +269,7 @@ NTSTATUS WINAPI NtQueryInformationToken( 0, /* TokenSandBoxInert */ 0, /* TokenAuditPolicy */ 0, /* TokenOrigin */ - 0, /* TokenElevationType */ + sizeof(TOKEN_ELEVATION_TYPE), /* TokenElevationType */ 0, /* TokenLinkedToken */ sizeof(TOKEN_ELEVATION), /* TokenElevation */ 0, /* TokenHasRestrictions */ @@ -507,6 +507,13 @@ NTSTATUS WINAPI NtQueryInformationToken( } SERVER_END_REQ; break; + case TokenElevationType: + { + TOKEN_ELEVATION_TYPE *elevation_type = tokeninfo; + FIXME("QueryInformationToken( ..., TokenElevationType, ...) semi-stub\n"); + *elevation_type = TokenElevationTypeFull; + } + break; case TokenElevation: { TOKEN_ELEVATION *elevation = tokeninfo;