| 1 | /* $Id: midistrm.cpp,v 1.3 1999-06-10 16:24:34 phaller Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | * RTMIDI code
|
|---|
| 5 | *
|
|---|
| 6 | * Copyright 1998 Joel Troster
|
|---|
| 7 | *
|
|---|
| 8 | *
|
|---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 10 | *
|
|---|
| 11 | */
|
|---|
| 12 | #include <os2win.h>
|
|---|
| 13 | #include <mmsystem.h>
|
|---|
| 14 | #include "midi.hpp"
|
|---|
| 15 | #include <process.h>
|
|---|
| 16 | #include <stdio.h>
|
|---|
| 17 | #include <string.h>
|
|---|
| 18 | #include <unicode.h>
|
|---|
| 19 |
|
|---|
| 20 | /******************************************************************************/
|
|---|
| 21 | MMRESULT WIN32API midiStreamClose(HMIDISTRM hms)
|
|---|
| 22 | {
|
|---|
| 23 | dprintf(("WINMM:midiStreamClose - stub\n" ));
|
|---|
| 24 | MMRESULT rc;
|
|---|
| 25 | rc = MMSYSERR_INVALHANDLE;
|
|---|
| 26 | return rc;
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | /******************************************************************************/
|
|---|
| 30 | MMRESULT WIN32API midiStreamOpen(LPHMIDISTRM phms,
|
|---|
| 31 | LPUINT puDeviceID,
|
|---|
| 32 | DWORD cMidi,
|
|---|
| 33 | DWORD dwCallback,
|
|---|
| 34 | DWORD dwInstance,
|
|---|
| 35 | DWORD fdwOpen)
|
|---|
| 36 | {
|
|---|
| 37 | dprintf(("WINMM:midiStreamOpen - stub\n" ));
|
|---|
| 38 | MMRESULT rc;
|
|---|
| 39 | rc = MMSYSERR_BADDEVICEID;
|
|---|
| 40 | return rc;
|
|---|
| 41 | }
|
|---|
| 42 |
|
|---|
| 43 | /******************************************************************************/
|
|---|
| 44 | MMRESULT WIN32API midiStreamProperty(HMIDISTRM hms, LPBYTE lppropdata, DWORD dwProperty)
|
|---|
| 45 | {
|
|---|
| 46 | dprintf(("WINMM:midiStreamProperty - stub\n" ));
|
|---|
| 47 | MMRESULT rc;
|
|---|
| 48 | rc = MMSYSERR_INVALHANDLE;
|
|---|
| 49 | return rc;
|
|---|
| 50 | }
|
|---|
| 51 |
|
|---|
| 52 | /******************************************************************************/
|
|---|
| 53 | MMRESULT WIN32API midiStreamPosition(HMIDISTRM hms, LPMMTIME lpmmt, UINT cbmmt)
|
|---|
| 54 | {
|
|---|
| 55 | dprintf(("WINMM:midiStreamPosition - stub\n" ));
|
|---|
| 56 | MMRESULT rc;
|
|---|
| 57 | rc = MMSYSERR_INVALHANDLE;
|
|---|
| 58 | return rc;
|
|---|
| 59 | }
|
|---|
| 60 |
|
|---|
| 61 | /******************************************************************************/
|
|---|
| 62 | MMRESULT WIN32API midiStreamOut(HMIDISTRM hms, LPMIDIHDR pmh, UINT cbmh)
|
|---|
| 63 | {
|
|---|
| 64 | dprintf(("WINMM:midiStreamOut - stub\n" ));
|
|---|
| 65 | MMRESULT rc;
|
|---|
| 66 | rc = MMSYSERR_INVALHANDLE;
|
|---|
| 67 | return rc;
|
|---|
| 68 | }
|
|---|
| 69 |
|
|---|
| 70 | /******************************************************************************/
|
|---|
| 71 | MMRESULT WIN32API midiStreamPause(HMIDISTRM hms)
|
|---|
| 72 | {
|
|---|
| 73 | dprintf(("WINMM:midiStreamPause - stub\n" ));
|
|---|
| 74 | MMRESULT rc;
|
|---|
| 75 | rc = MMSYSERR_INVALHANDLE;
|
|---|
| 76 | return rc;
|
|---|
| 77 | }
|
|---|
| 78 |
|
|---|
| 79 | /******************************************************************************/
|
|---|
| 80 | MMRESULT WIN32API midiStreamRestart(HMIDISTRM hms)
|
|---|
| 81 | {
|
|---|
| 82 | dprintf(("WINMM:midiStreamRestart - stub\n" ));
|
|---|
| 83 | MMRESULT rc;
|
|---|
| 84 | rc = MMSYSERR_INVALHANDLE;
|
|---|
| 85 | return rc;
|
|---|
| 86 | }
|
|---|
| 87 |
|
|---|
| 88 | /******************************************************************************/
|
|---|
| 89 | MMRESULT WIN32API midiStreamStop(HMIDISTRM hms)
|
|---|
| 90 | {
|
|---|
| 91 | dprintf(("WINMM:midiStreamStop - stub\n" ));
|
|---|
| 92 | MMRESULT rc;
|
|---|
| 93 | rc = MMSYSERR_INVALHANDLE;
|
|---|
| 94 | return rc;
|
|---|
| 95 | }
|
|---|