RtlpAllocateHeapRaiseException

VOID __stdcall RtlpAllocateHeapRaiseException(UINT64 AllocationSize){
  struct _EXCEPTION_RECORD ExceptionRecord; 
  memset((INT64)&ExceptionRecord, 0i64);
  ExceptionRecord.ExceptionRecord = 0i64;
  ExceptionRecord.ExceptionFlags = 0;
  ExceptionRecord.ExceptionAddress = RtlRaiseException;
  ExceptionRecord.ExceptionCode = -1073741801;
  ExceptionRecord.NumberParameters = 1;
  ExceptionRecord.ExceptionInformation[0] = AllocationSize;
  RtlRaiseException(&ExceptionRecord);
}

Referenced by:

RtlpAllocateHeapInternal