mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[NTOSKRNL] Implement SystemDpcBehaviourInformation query
This commit is contained in:
parent
42ddd011ce
commit
962b2fd66a
|
@ -1539,9 +1539,19 @@ QSI_DEF(SystemInterruptInformation)
|
||||||
/* Class 24 - DPC Behaviour Information */
|
/* Class 24 - DPC Behaviour Information */
|
||||||
QSI_DEF(SystemDpcBehaviourInformation)
|
QSI_DEF(SystemDpcBehaviourInformation)
|
||||||
{
|
{
|
||||||
/* FIXME */
|
PSYSTEM_DPC_BEHAVIOR_INFORMATION sdbi = (PSYSTEM_DPC_BEHAVIOR_INFORMATION)Buffer;
|
||||||
DPRINT1("NtQuerySystemInformation - SystemDpcBehaviourInformation not implemented\n");
|
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
if (Size < sizeof(SYSTEM_DPC_BEHAVIOR_INFORMATION))
|
||||||
|
{
|
||||||
|
return STATUS_INFO_LENGTH_MISMATCH;
|
||||||
|
}
|
||||||
|
|
||||||
|
sdbi->DpcQueueDepth = KiMaximumDpcQueueDepth;
|
||||||
|
sdbi->MinimumDpcRate = KiMinimumDpcRate;
|
||||||
|
sdbi->AdjustDpcThreshold = KiAdjustDpcThreshold;
|
||||||
|
sdbi->IdealDpcRate = KiIdealDpcRate;
|
||||||
|
|
||||||
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
SSI_DEF(SystemDpcBehaviourInformation)
|
SSI_DEF(SystemDpcBehaviourInformation)
|
||||||
|
|
Loading…
Reference in a new issue