winmm: Implement stub for midiConnect and midiDisconnect.

This commit is contained in:
Christian Costa 2008-08-16 20:52:22 +02:00 committed by Alexandre Julliard
parent 666378f4fe
commit 48b459afff
2 changed files with 20 additions and 2 deletions

View File

@ -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;

View File

@ -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)