在 2026-6-24 01:24, Pali Rohár 写道:
The function is available in all Windows kernel32.dll version, also in NT 3.1 version (also in Win95 and also in Win32s). See the kernel32.def file where I collected all those symbol availability information.Before that I have also checked the WinSDK for NT 3.1 version and that function is present in the WINBASE.H header file and also in KERNEL32.LIB import library. Also all MS compilers for Win32s are unconditionally putting SetUnhandledExceptionFilter call into the static glued code linked into every executable (also when compiling for NT 3.1). So this is mostly the core function which has to be present in any Windows version as otherwise applications compiled by MS compilers would not run. So it wrong to say that it is from NT 3.5. Because it is also in NT 3.1.
It's possible that MSVC used to provide it in a static library, but in mingw-w64 CRT it isn't implemented and is always imported from kernel32.dll, which is from Windows NT 3.5.
PSDK 2003 says it requires Windows NT Workstation 3.5 or Windows NT Server 3.5. There's also a cross reference: https://www.geoffchappell.com/studies/windows/win32/kernel32/api/index.htm
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
