diff --git a/patches/dmscript_enum_routine/0001-dmscript-IDirectMusicScript-EnumRoutine-return-S_FAL.patch b/patches/dmscript_enum_routine/0001-dmscript-IDirectMusicScript-EnumRoutine-return-S_FAL.patch new file mode 100644 index 00000000..25ec7e4b --- /dev/null +++ b/patches/dmscript_enum_routine/0001-dmscript-IDirectMusicScript-EnumRoutine-return-S_FAL.patch @@ -0,0 +1,27 @@ +From 59bed5259de3329ab2332c9c03f99126acdba4a4 Mon Sep 17 00:00:00 2001 +From: Alistair Leslie-Hughes +Date: Fri, 1 Nov 2024 19:39:11 +1100 +Subject: [PATCH] dmscript: IDirectMusicScript::EnumRoutine return S_FALSE by + default + +https://bugs.winehq.org/show_bug.cgi?id=55982 +--- + dlls/dmscript/script.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dlls/dmscript/script.c b/dlls/dmscript/script.c +index 01d4bcd0290..278405a322a 100644 +--- a/dlls/dmscript/script.c ++++ b/dlls/dmscript/script.c +@@ -171,7 +171,7 @@ static HRESULT WINAPI IDirectMusicScriptImpl_EnumRoutine(IDirectMusicScript *ifa + { + IDirectMusicScriptImpl *This = impl_from_IDirectMusicScript(iface); + FIXME("(%p, %ld, %p): stub\n", This, dwIndex, pwszName); +- return S_OK; ++ return S_FALSE; + } + + static HRESULT WINAPI IDirectMusicScriptImpl_EnumVariable(IDirectMusicScript *iface, DWORD dwIndex, +-- +2.45.2 + diff --git a/patches/dmscript_enum_routine/definition b/patches/dmscript_enum_routine/definition new file mode 100644 index 00000000..82581f96 --- /dev/null +++ b/patches/dmscript_enum_routine/definition @@ -0,0 +1 @@ +Fixes: [55982] dmscript: IDirectMusicScript::EnumRoutine return S_FALSE by default