https://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-unhandledexceptionfilter?redirectedfrom=MSDN
UnhandledExceptionFilter function (errhandlingapi.h) - Win32 apps | Microsoft Learn
An application-defined function that passes unhandled exceptions to the debugger, if the process is being debugged.
functionhappsmicrosoftlearn