- Add debug messages for unimplemented cases

svn path=/trunk/; revision=41382
This commit is contained in:
Dmitry Chapyshev 2009-06-11 15:04:20 +00:00
parent 75946e1764
commit 0b86b42306

View file

@ -779,13 +779,6 @@ NtSetInformationProcess(IN HANDLE ProcessHandle,
/* Check what kind of information class this is */ /* Check what kind of information class this is */
switch (ProcessInformationClass) switch (ProcessInformationClass)
{ {
/* Quotas and priorities: not implemented */
case ProcessQuotaLimits:
case ProcessBasePriority:
case ProcessRaisePriority:
Status = STATUS_NOT_IMPLEMENTED;
break;
/* Error/Exception Port */ /* Error/Exception Port */
case ProcessExceptionPort: case ProcessExceptionPort:
@ -975,6 +968,9 @@ NtSetInformationProcess(IN HANDLE ProcessHandle,
break; break;
/* We currently don't implement any of these */ /* We currently don't implement any of these */
case ProcessQuotaLimits:
case ProcessBasePriority:
case ProcessRaisePriority:
case ProcessLdtInformation: case ProcessLdtInformation:
case ProcessLdtSize: case ProcessLdtSize:
case ProcessIoPortHandlers: case ProcessIoPortHandlers:
@ -982,6 +978,7 @@ NtSetInformationProcess(IN HANDLE ProcessHandle,
case ProcessUserModeIOPL: case ProcessUserModeIOPL:
case ProcessEnableAlignmentFaultFixup: case ProcessEnableAlignmentFaultFixup:
case ProcessAffinityMask: case ProcessAffinityMask:
DPRINT1("Not implemented: %lx\n", ProcessInformationClass);
Status = STATUS_NOT_IMPLEMENTED; Status = STATUS_NOT_IMPLEMENTED;
break; break;
@ -995,6 +992,7 @@ NtSetInformationProcess(IN HANDLE ProcessHandle,
case ProcessWow64Information: case ProcessWow64Information:
case ProcessDebugPort: case ProcessDebugPort:
default: default:
DPRINT1("Unsupported or unimplemented: %lx\n", ProcessInformationClass);
Status = STATUS_INVALID_INFO_CLASS; Status = STATUS_INVALID_INFO_CLASS;
} }