KdIsThisAKdTrap

UINT8 __stdcall KdIsThisAKdTrap(_EXCEPTION_RECORD *ExceptionRecord, _CONTEXT *ContextRecord, CHAR PreviousMode){
  return(ExceptionRecord->ExceptionCode == -2147483645 || ExceptionRecord->ExceptionCode == 1073741855)
      && ExceptionRecord->NumberParameters
      && ExceptionRecord->ExceptionInformation[0];
}

Referenced by:

KiDispatchException