#ifndef _NTXCAPI_H
/**
* Raises an exception in the calling thread.
*
* @param ExceptionRecord A pointer to an EXCEPTION_RECORD structure that contains the exception information. You must specify the ExceptionAddress and ExceptionCode members.
* @return This function does not return a value.
* @see https://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-raiseexception
*/
NTSYSAPI
VOID
NTAPI
RtlRaiseException(
_In_ PEXCEPTION_RECORD ExceptionRecord
);
View code on GitHub
This function is documented in Windows SDK.