On 10.01.2025 12:50, Martin Storsjö wrote:

It does seem to be missing from the arm32 version of kernel32.dll though.

Not sure if we strictly need to add ifdefs to the .def.in to make sure it's not included in the import library there - but I think the header ifdef here could be wider, to allow it to be called elsewhere too? Although as WinSDK only exposes the function in arm64ec mode, perhaps it's best to just match that.


It could be `#ifdef __x86_64__`. Thinking some more about it, I can see valid use cases for calling it from code built as x86_64 (not EC) and Wine already does that. I will change it.

Ok, that sounds reasonable. Even if WinSDK doesn't expose it there, I agree that it sounds somewhat reasonable to call it in that mode.

I presume this means that iit exist in pure x86_64 kernel32.dll as well?


Yes, it exists in pure x86_64 as well as in x86_64 MSVC kernel32.lib import library.


Jacek



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to