6 Oct
2025
6 Oct
'25
7:44 p.m.
On Mon Oct 6 19:44:35 2025 +0000, Alexandre Julliard wrote:
There are 3 options: forward, -import, and nothing. Forward is different in the export table, and can indeed break some things. Nothing is the default, it simply jumps to the imported entry point. -import is the same but it generates a hot patch prefix before the jump. 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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9113#note_117727