From 680e200c7566476f5221e0b27865ff2e3540c860 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Tue, 6 Jul 2004 19:42:30 +0000 Subject: [PATCH] Report NOT_IMPLEMENTED for not implemented token classes. --- dlls/ntdll/nt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index ed7a9b79f76..47ca85eda61 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -275,6 +275,11 @@ NTSTATUS WINAPI NtQueryInformationToken( owner->Owner = sid; } break; + default: + { + ERR("Unhandled Token Information class!\n"); + return STATUS_NOT_IMPLEMENTED; + } } return 0; }