On Tue Feb 6 19:35:59 2024 +0000, Dāvis Mosāns (davispuh) wrote:
changed this line in [version 5 of the diff](/wine/wine/-/merge_requests/4761/diffs?diff_id=97969&start_sha=73784260ac0f563cb2572056f8fc43cae7885509#e3e3c56cbfa0f2b68d220502c6ef9e42b5f1fdf3_806_806)
I included this for completeness but turns out alignment requirements are quite complicated...
Dropped now and I don't think there's any app that would depend on this.
I tested on 64-bit Windows 10 and it works like this: * `NtContinue()` - `CONTEXT` must be 16 byte aligned * `NtContinueEx()` - `CONTEXT` and `CONTINUE_OPTIONS` must be 16 byte aligned * `NtContinue()` on WoW64 - `CONTEXT` doesn't require any alignment * `NtContinueEx()` on WoW64 - `CONTEXT` must be 16 byte aligned but `CONTINUE_OPTIONS` doesn't require any alignment
Also I don't have 32-bit Windows to test on.