KeIsBugCheckActive

UINT8 __stdcall KeIsBugCheckActive(UINT64 *BugCheckOwner){
  if( (KiBugCheckActive & 3) == 0 )
    return 0;
  if( BugCheckOwner )
    *(_DWORD *)BugCheckOwner = (unsigned int)KiBugCheckActive >> 4;
  return 1;
}

Referenced by:

RtlQueryFeatureConfiguration