Stub for midiOpenStream (helps hexen2demo).

This commit is contained in:
Marcus Meissner 1998-10-27 15:22:26 +00:00 committed by Alexandre Julliard
parent c3ab26e9bb
commit d1165095dc
3 changed files with 10 additions and 1 deletions

View file

@ -155,6 +155,7 @@ DECLARE_HANDLE(HMETAFILE);
DECLARE_HANDLE(HMIDI);
DECLARE_HANDLE(HMIDIIN);
DECLARE_HANDLE(HMIDIOUT);
DECLARE_HANDLE(HMIDISTRM);
DECLARE_HANDLE(HMIXER);
DECLARE_HANDLE(HMIXEROBJ);
DECLARE_HANDLE(HMMIO);

View file

@ -3090,6 +3090,14 @@ DWORD WINAPI midiInMessage16(HMIDIIN16 hMidiIn, UINT16 uMessage,
return midMessage(0, uMessage, lpDesc->dwInstance, dwParam1, dwParam2);
}
/**************************************************************************
* midiStreamOpen [MMSYSTEM.91]
*/
MMRESULT32 WINAPI midiStreamOpen32(HMIDISTRM32 *phms,LPUINT32 devid,DWORD cMidi,DWORD dwCallback,DWORD dwInstance,DWORD fdwOpen) {
FIXME(midi,"(%p,%p,%d,%p,%p,0x%08lx),stub!\n",phms,devid,cMidi,dwCallback,dwInstance,fdwOpen);
return MMSYSERR_NOTSUPPORTED;
}
/**************************************************************************
* waveOutGetNumDevs [MMSYSTEM.401]

View file

@ -91,7 +91,7 @@ type win32
88 stdcall midiOutShortMsg(long long) midiOutShortMsg32
89 stdcall midiOutUnprepareHeader(long ptr long) midiOutUnprepareHeader32
90 stub midiStreamClose
91 stub midiStreamOpen
91 stdcall midiStreamOpen(ptr ptr long long long long) midiStreamOpen32
92 stub midiStreamOut
93 stub midiStreamPause
94 stub midiStreamPosition