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