mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +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;
|
break;
|
||||||
|
|
||||||
case SysDbgGetPrintBufferSize:
|
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 SysDbgSetPrintBufferSize:
|
||||||
case SysDbgGetKdUmExceptionEnable:
|
case SysDbgGetKdUmExceptionEnable:
|
||||||
case SysDbgSetKdUmExceptionEnable:
|
case SysDbgSetKdUmExceptionEnable:
|
||||||
|
|
Loading…
Reference in a new issue