Alexandre Julliard (@julliard) commented about dlls/winex11.drv/wintab.c:
>
> typedef struct tagWTPACKET {
> HCTX pkContext;
> +#ifndef _WIN64
> + DWORD pkPadding;
> +#endif
If you are not going to convert pkContext, then it seems it shouldn't be a pointer in the first place.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6584#note_87245
Test Driver Unlimited Solar Crown depends on that (both calling ProcessTlsInformation and hotpatches the same to fixup the thread local storage allocation from ntdll).
--
v3: ntdll: Match memory allocation layout for ThreadLocalStoragePointer.
ntdll: Use NtSetInformationProcess( ProcessTlsInformation ) in alloc_tls_slot().
ntdll: Implement NtSetInformationProcess( ProcessTlsInformation ).
ntdll/tests: Add tests for NtSetInformationProcess( ProcessTlsInformation ).
https://gitlab.winehq.org/wine/wine/-/merge_requests/6549