DrawThemeBackground() happens to be at ordinal 49 before this patch. Add a stub for ordinal 49 so that DrawThemeBackground() is not called. Otherwise, it might cause a crash. The stub is enough for Directory Opus to start.
From: Zhiyi Zhang zzhang@codeweavers.com
DrawThemeBackground() happens to be at ordinal 49 before this patch. Add a stub for ordinal 49 so that DrawThemeBackground() is not called. Otherwise, it might cause a crash. The stub is enough for Directory Opus to start.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58747 --- dlls/uxtheme/uxtheme.spec | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec index 78530a0b755..7d8dc121b93 100644 --- a/dlls/uxtheme/uxtheme.spec +++ b/dlls/uxtheme/uxtheme.spec @@ -38,6 +38,7 @@ 46 stub -noname ClassicAdjustWindowRectEx 47 stdcall DrawThemeBackgroundEx(ptr ptr long long ptr ptr) 48 stub -noname GetThemeParseErrorInfo +49 stub -noname @ 60 stub -noname CreateThemeDataFromObjects 61 stdcall OpenThemeDataEx(ptr wstr long) 62 stub -noname ServerClearStockObjects