mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[NTOS:EX] Implement NtSystemDebugControl: SysDbgGetPrintBufferSize
This commit is contained in:
parent
4dc0e5cc81
commit
734a043b22
1 changed files with 12 additions and 0 deletions
|
@ -319,6 +319,18 @@ NtSystemDebugControl(
|
|||
break;
|
||||
|
||||
case SysDbgGetPrintBufferSize:
|
||||
if (OutputBufferLength != sizeof(ULONG))
|
||||
{
|
||||
Status = STATUS_INFO_LENGTH_MISMATCH;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Return buffer size only if KD is enabled */
|
||||
*(PULONG)OutputBuffer = KdPitchDebugger ? 0 : KdPrintBufferSize;
|
||||
Status = STATUS_SUCCESS;
|
||||
}
|
||||
break;
|
||||
|
||||
case SysDbgSetPrintBufferSize:
|
||||
case SysDbgGetKdUmExceptionEnable:
|
||||
case SysDbgSetKdUmExceptionEnable:
|
||||
|
|
Loading…
Reference in a new issue