Author: dchapyshev
Date: Thu Jun 11 19:04:20 2009
New Revision: 41382
URL:
http://svn.reactos.org/svn/reactos?rev=41382&view=rev
Log:
- Add debug messages for unimplemented cases
Modified:
trunk/reactos/ntoskrnl/ps/query.c
Modified: trunk/reactos/ntoskrnl/ps/query.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/query.c?rev=41…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/query.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/query.c [iso-8859-1] Thu Jun 11 19:04:20 2009
@@ -779,13 +779,6 @@
/* Check what kind of information class this is */
switch (ProcessInformationClass)
{
- /* Quotas and priorities: not implemented */
- case ProcessQuotaLimits:
- case ProcessBasePriority:
- case ProcessRaisePriority:
- Status = STATUS_NOT_IMPLEMENTED;
- break;
-
/* Error/Exception Port */
case ProcessExceptionPort:
@@ -975,6 +968,9 @@
break;
/* We currently don't implement any of these */
+ case ProcessQuotaLimits:
+ case ProcessBasePriority:
+ case ProcessRaisePriority:
case ProcessLdtInformation:
case ProcessLdtSize:
case ProcessIoPortHandlers:
@@ -982,6 +978,7 @@
case ProcessUserModeIOPL:
case ProcessEnableAlignmentFaultFixup:
case ProcessAffinityMask:
+ DPRINT1("Not implemented: %lx\n", ProcessInformationClass);
Status = STATUS_NOT_IMPLEMENTED;
break;
@@ -995,6 +992,7 @@
case ProcessWow64Information:
case ProcessDebugPort:
default:
+ DPRINT1("Unsupported or unimplemented: %lx\n",
ProcessInformationClass);
Status = STATUS_INVALID_INFO_CLASS;
}