在 2026-8-17 00:20, Lasse Collin via Mingw-w64-public 写道:
On 2026-08-16 Pali Rohár wrote:During testing of those functions with older msvcrt libraries I got crashes when I passed NULL pointer. I guess that current web documentation matches the UCRT behavior, which accepts NULL.It also works on WinXP with msvcrt.
From PSDK for Windows 2003 SP1:
ThreadId [out] Pointer to a variable that receives the thread identifier. If this parameter is NULL, the thread identifier is not returned.Windows Me/98/95: This parameter may not be NULL.
-- 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
