[PATCH] dmusic: Fake success in two stub midi port methods
Michael Stefaniuc
mstefani at winehq.org
Mon Aug 20 16:30:17 CDT 2018
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
This lets MidiStation start.
dlls/dmusic/port.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dmusic/port.c b/dlls/dmusic/port.c
index 9a18c8844d..1fa94694a9 100644
--- a/dlls/dmusic/port.c
+++ b/dlls/dmusic/port.c
@@ -977,7 +977,7 @@ static HRESULT WINAPI midi_IDirectMusicPort_SetReadNotificationHandle(IDirectMus
{
FIXME("(%p, %p) stub!\n", iface, event);
- return E_NOTIMPL;
+ return S_OK;
}
static HRESULT WINAPI midi_IDirectMusicPort_Read(IDirectMusicPort *iface,
@@ -1164,7 +1164,7 @@ static HRESULT WINAPI midi_IDirectMusicThru_ThruChannel(IDirectMusicThru *iface,
FIXME("(%p, %u, %u, %u, %u, %p) stub!\n", iface, src_group, src_channel, dest_group,
dest_channel, dest_port);
- return E_NOTIMPL;
+ return S_OK;
}
static const IDirectMusicThruVtbl midi_thru_vtbl = {
--
2.14.4
More information about the wine-devel
mailing list