From 0e08b058632cf720a5da5673a9e7e0bcb32b5f64 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Fri, 1 Nov 2024 19:41:39 +1100 Subject: [PATCH] Added dmscript_enum_routine patchset --- ...MusicScript-EnumRoutine-return-S_FAL.patch | 27 +++++++++++++++++++ patches/dmscript_enum_routine/definition | 1 + 2 files changed, 28 insertions(+) create mode 100644 patches/dmscript_enum_routine/0001-dmscript-IDirectMusicScript-EnumRoutine-return-S_FAL.patch create mode 100644 patches/dmscript_enum_routine/definition 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