source: trunk/src/winmm/midistrm.cpp

Last change on this file was 8470, checked in by sandervl, 23 years ago

added debug wrappers (.def)

File size: 2.8 KB
RevLine 
[8470]1/* $Id: midistrm.cpp,v 1.6 2002-05-22 15:50:25 sandervl Exp $ */
[95]2
[4]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 */
[588]12
13
14/****************************************************************************
15 * Includes *
16 ****************************************************************************/
17
[4]18#include <os2win.h>
19#include <mmsystem.h>
[588]20#include <odinwrap.h>
[4]21#include "midi.hpp"
22#include <process.h>
23#include <stdio.h>
24#include <string.h>
25#include <unicode.h>
26
[2812]27#define DBG_LOCALLOG DBG_midistrm
28#include "dbglocal.h"
[588]29
[2812]30
[4]31/******************************************************************************/
[8470]32MMRESULT WINAPI midiStreamClose(HMIDISTRM hms)
[4]33{
34 dprintf(("WINMM:midiStreamClose - stub\n" ));
35 MMRESULT rc;
36 rc = MMSYSERR_INVALHANDLE;
37 return rc;
38}
39
40/******************************************************************************/
[8470]41MMRESULT WINAPI midiStreamOpen(LPHMIDISTRM phms, LPUINT puDeviceID,
42 DWORD cMidi, DWORD dwCallback,
43 DWORD dwInstance, DWORD fdwOpen)
[4]44{
45 dprintf(("WINMM:midiStreamOpen - stub\n" ));
46 MMRESULT rc;
47 rc = MMSYSERR_BADDEVICEID;
48 return rc;
49}
50
51/******************************************************************************/
[8470]52MMRESULT WINAPI midiStreamProperty(HMIDISTRM hms, LPBYTE lppropdata,
53 DWORD dwProperty)
[4]54{
55 dprintf(("WINMM:midiStreamProperty - stub\n" ));
56 MMRESULT rc;
57 rc = MMSYSERR_INVALHANDLE;
58 return rc;
59}
60
61/******************************************************************************/
[8470]62MMRESULT WINAPI midiStreamPosition(HMIDISTRM hms, LPMMTIME lpmmt,
63 UINT cbmmt)
[4]64{
65 dprintf(("WINMM:midiStreamPosition - stub\n" ));
66 MMRESULT rc;
67 rc = MMSYSERR_INVALHANDLE;
68 return rc;
69}
70
71/******************************************************************************/
[8470]72MMRESULT WINAPI midiStreamOut(HMIDISTRM hms, LPMIDIHDR pmh, UINT cbmh)
[4]73{
74 dprintf(("WINMM:midiStreamOut - stub\n" ));
75 MMRESULT rc;
76 rc = MMSYSERR_INVALHANDLE;
77 return rc;
78}
79
80/******************************************************************************/
[8470]81MMRESULT WINAPI midiStreamPause(HMIDISTRM hms)
[4]82{
83 dprintf(("WINMM:midiStreamPause - stub\n" ));
84 MMRESULT rc;
85 rc = MMSYSERR_INVALHANDLE;
86 return rc;
87}
88
89/******************************************************************************/
[8470]90MMRESULT WINAPI midiStreamRestart(HMIDISTRM hms)
[4]91{
92 dprintf(("WINMM:midiStreamRestart - stub\n" ));
93 MMRESULT rc;
94 rc = MMSYSERR_INVALHANDLE;
95 return rc;
96}
97
98/******************************************************************************/
[8470]99MMRESULT WINAPI midiStreamStop(HMIDISTRM hms)
[4]100{
101 dprintf(("WINMM:midiStreamStop - stub\n" ));
102 MMRESULT rc;
103 rc = MMSYSERR_INVALHANDLE;
104 return rc;
105}
[588]106
Note: See TracBrowser for help on using the repository browser.