Commit 48b459af authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

winmm: Implement stub for midiConnect and midiDisconnect.

parent 666378f4
......@@ -1441,6 +1441,24 @@ UINT WINAPI midiInMessage(HMIDIIN hMidiIn, UINT uMessage,
return MMDRV_Message(wmld, uMessage, dwParam1, dwParam2, TRUE);
}
/**************************************************************************
* midiConnect [WINMM.@]
*/
MMRESULT WINAPI midiConnect(HMIDI hMidi, HMIDIOUT hmo, LPVOID pReserved)
{
FIXME("(%p, %p, %p): Stub\n", hMidi, hmo, pReserved);
return MMSYSERR_ERROR;
}
/**************************************************************************
* midiDisconnect [WINMM.@]
*/
MMRESULT WINAPI midiDisconnect(HMIDI hMidi, HMIDIOUT hmo, LPVOID pReserved)
{
FIXME("(%p, %p, %p): Stub\n", hMidi, hmo, pReserved);
return MMSYSERR_ERROR;
}
typedef struct WINE_MIDIStream {
HMIDIOUT hDevice;
HANDLE hThread;
......
......@@ -56,8 +56,8 @@
@ stdcall mciSendStringW(wstr ptr long long)
@ stdcall mciSetDriverData(long long)
@ stdcall mciSetYieldProc(long ptr long)
@ stub midiConnect
@ stub midiDisconnect
@ stdcall midiConnect(long long ptr)
@ stdcall midiDisconnect(long long ptr)
@ stdcall midiInAddBuffer(long ptr long)
@ stdcall midiInClose(long)
@ stdcall midiInGetDevCapsA(long ptr long)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment