On Mon Oct 6 19:44:35 2025 +0000, Rémi Bernon wrote:
I don't understand how you write the "nothing" version though? `@ stdcall -import D3DKMTCloseAdapter(ptr) gdi32.D3DKMTCloseAdapter` is -import `@ stdcall D3DKMTCloseAdapter(ptr) gdi32.D3DKMTCloseAdapter` is forward Then how can we link with gdi32.D3DKMTCloseAdapter and export it directly?
Simply `@ stdcall D3DKMTCloseAdapter(ptr)`, if gdi32 is imported it will link to it.