Aug. 21, 2026
8:35 p.m.
On Fri Aug 21 07:47:35 2026 +0000, Hans Leidekker wrote:
Wouldn't it be better to test the syswow64 version when compiled as 32-bit? That way we ensure that they are identical. `foundation_wow64` is only used when `IsWow64Process` returns TRUE, so this would only be tested when the 32-bit version of the test is running, right?
```c IsWow64Process(GetCurrentProcess(), &is_wow64); hr = MetaDataGetDispenser(&CLSID_CorMetaDataDispenser, &IID_IMetaDataDispenser, (void **)&dispenser); ok(hr == S_OK, "got hr %#lx\n", hr); hr = IMetaDataDispenser_OpenScope(dispenser, is_wow64 ? foundation_wow64 : foundation, 0, &IID_IMetaDataImport, (IUnknown **)&md_import); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11719#note_149584