From 64fe62dd6db49ac72b56a47ba14f0ff54466f80e Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Fri, 7 Sep 2001 21:35:45 +0000 Subject: [PATCH] Minor changes. svn path=/trunk/; revision=2233 --- reactos/ntoskrnl/ps/process.c | 21 +++++++++++++++++++-- reactos/ntoskrnl/ps/tinfo.c | 3 ++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/ps/process.c b/reactos/ntoskrnl/ps/process.c index e296fbc4a28..19c9851d5e1 100644 --- a/reactos/ntoskrnl/ps/process.c +++ b/reactos/ntoskrnl/ps/process.c @@ -1,4 +1,4 @@ -/* $Id: process.c,v 1.67 2001/08/26 17:30:21 ekohl Exp $ +/* $Id: process.c,v 1.68 2001/09/07 21:35:45 ea Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -757,12 +757,29 @@ NtQueryInformationProcess(IN HANDLE ProcessHandle, case ProcessWorkingSetWatch: case ProcessUserModeIOPL: case ProcessEnableAlignmentFaultFixup: + Status = STATUS_NOT_IMPLEMENTED; + break; + + case ProcessForegroundInformation: + ((PPROCESS_PRIORITY_CLASS)ProcessInformation)->Foreground = + FALSE; /*FIXME: how to compute it? */ case ProcessPriorityClass: + ((PPROCESS_PRIORITY_CLASS)ProcessInformation)->PriorityClass = + Process->PriorityClass; + break; + case ProcessWx86Information: case ProcessHandleCount: case ProcessAffinityMask: - default: + case ProcessPriorityBoost: + case ProcessDeviceMap: + case ProcessSessionInformation: + case ProcessWow64Information: Status = STATUS_NOT_IMPLEMENTED; + break; + + default: + Status = STATUS_INVALID_INFO_CLASS; } ObDereferenceObject(Process); return(Status); diff --git a/reactos/ntoskrnl/ps/tinfo.c b/reactos/ntoskrnl/ps/tinfo.c index b3f9761c236..22ad65c371b 100644 --- a/reactos/ntoskrnl/ps/tinfo.c +++ b/reactos/ntoskrnl/ps/tinfo.c @@ -1,4 +1,5 @@ -/* +/* $Id: tinfo.c,v 1.16 2001/09/07 21:35:45 ea Exp $ + * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: ntoskrnl/ps/tinfo.c -- 2.17.1