Minor changes.
authorEmanuele Aliberti <ea@iol.it>
Fri, 7 Sep 2001 21:35:45 +0000 (21:35 +0000)
committerEmanuele Aliberti <ea@iol.it>
Fri, 7 Sep 2001 21:35:45 +0000 (21:35 +0000)
svn path=/trunk/; revision=2233

reactos/ntoskrnl/ps/process.c
reactos/ntoskrnl/ps/tinfo.c

index e296fbc..19c9851 100644 (file)
@@ -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);
index b3f9761..22ad65c 100644 (file)
@@ -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