File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed
Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -367,12 +367,31 @@ NtSystemDebugControl(
367367 break ;
368368
369369 case SysDbgGetTriageDump :
370- case SysDbgGetKdBlockEnable :
371- case SysDbgSetKdBlockEnable :
372370 UNIMPLEMENTED ;
373371 Status = STATUS_NOT_IMPLEMENTED ;
374372 break ;
375373
374+ case SysDbgGetKdBlockEnable :
375+ if (OutputBufferLength != sizeof (BOOLEAN ))
376+ {
377+ Status = STATUS_INFO_LENGTH_MISMATCH ;
378+ }
379+ else
380+ {
381+ * (PBOOLEAN )OutputBuffer = KdBlockEnable ;
382+ Status = STATUS_SUCCESS ;
383+ }
384+ break ;
385+
386+ case SysDbgSetKdBlockEnable :
387+ Status = KdChangeOption (KD_OPTION_SET_BLOCK_ENABLE ,
388+ InputBufferLength ,
389+ InputBuffer ,
390+ OutputBufferLength ,
391+ OutputBuffer ,
392+ & Length );
393+ break ;
394+
376395 default :
377396 Status = STATUS_INVALID_INFO_CLASS ;
378397 break ;
You can’t perform that action at this time.
0 commit comments