Alex Henrie (@alexhenrie) commented about dlls/wintypes/main.c:
return S_OK;
}
+HRESULT WINAPI RoIsApiContractMajorVersionPresent(const WCHAR *name, UINT16 major, BOOL *result) +{
- /* For some reason MS Office crashes if a logging statement is added here */
This may be completely irrelevant, but sometimes adding DECLSPEC_HOTPATCH to a function resolves strange crashes. Ideally we would include DECLSPEC_HOTPATCH in the definition of WINAPI, but GCC doesn't like it being slipped onto function pointers, so we've just been adding it on an as-needed basis.