winmm: Implement stub for midiConnect and midiDisconnect.
This commit is contained in:
parent
666378f4fe
commit
48b459afff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue