source: trunk/src/winmm/mixer.cpp@ 46

Last change on this file since 46 was 46, checked in by sandervl, 26 years ago

* empty log message *

File size: 3.6 KB
Line 
1/*
2 * Mixer stubs
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 <misc.h>
13
14//
15// All Stubs
16//
17
18/******************************************************************************/
19MMRESULT WIN32API mixerClose( HMIXER hmx )
20{
21 dprintf(("WINMM:mixerClose - stub\n" ));
22 return MMSYSERR_INVALHANDLE;
23}
24
25/******************************************************************************/
26MMRESULT WIN32API mixerGetControlDetailsA(HMIXEROBJ hmxobj, LPMIXERCONTROLDETAILS pmxcd, DWORD fdwDetails)
27{
28 dprintf(("WINMM:mixerGetControlDetailsA - stub\n" ));
29 return MIXERR_INVALCONTROL;
30}
31
32/******************************************************************************/
33MMRESULT WIN32API mixerGetControlDetailsW(HMIXEROBJ hmxobj, LPMIXERCONTROLDETAILS pmxcd, DWORD fdwDetails)
34{
35 dprintf(("WINMM:mixerGetControlDetailsW - stub\n" ));
36 return MIXERR_INVALCONTROL;
37}
38
39/******************************************************************************/
40MMRESULT WIN32API mixerGetDevCapsA( UINT uMxId, LPMIXERCAPSA pmxcaps, UINT cbmxcaps)
41{
42 dprintf(("WINMM:mixerGetDevCapsA(%d) -stub\n", uMxId ));
43 return MMSYSERR_BADDEVICEID;
44}
45
46/******************************************************************************/
47MMRESULT WIN32API mixerGetLineControlsA(HMIXEROBJ hmxobj, LPMIXERLINECONTROLSA pmxlc, DWORD fdwControls)
48{
49 dprintf(("WINMM:mixerGetGetLineControlsA - stub\n" ));
50 return MIXERR_INVALLINE;
51}
52
53/******************************************************************************/
54MMRESULT WIN32API mixerGetLineControlsW(HMIXEROBJ hmxobj, LPMIXERLINECONTROLSW pmxlc, DWORD fdwControls)
55{
56 dprintf(("WINMM:mixerGetGetLineControlsW - stub\n" ));
57 return MIXERR_INVALLINE;
58}
59
60/******************************************************************************/
61MMRESULT WIN32API mixerGetDevCapsW( UINT uMxId, LPMIXERCAPSW pmxcaps, UINT cbmxcaps)
62{
63 dprintf(("WINMM:mixerGetDevCapsW(%u) - stub\n", uMxId ));
64 return MMSYSERR_BADDEVICEID;
65}
66
67/******************************************************************************/
68MMRESULT WIN32API mixerGetID( HMIXEROBJ hmxobj, UINT *puMxId, DWORD fdwId)
69{
70 dprintf(("WINMM:mixerGetID - stub\n" ));
71 return MMSYSERR_INVALHANDLE;
72}
73
74/******************************************************************************/
75MMRESULT WIN32API mixerGetLineInfoA(HMIXEROBJ hmxobj, LPMIXERLINEA pmxl, DWORD fdwInfo)
76{
77 dprintf(("WINMM:mixerGetLineInfoA - stub\n" ));
78 return MIXERR_INVALLINE;
79}
80
81/******************************************************************************/
82MMRESULT WIN32API mixerGetLineInfoW(HMIXEROBJ hmxobj, LPMIXERLINEW pmxl, DWORD fdwInfo)
83{
84 dprintf(("WINMM:mixerGetLineInfoW - stub\n" ));
85 return MIXERR_INVALLINE;
86}
87
88/******************************************************************************/
89MMRESULT WIN32API mixerMessage( HMIXER hmx, UINT uMsg, DWORD dwParam1, DWORD dwParam2)
90{
91 dprintf(("WINMM:mixerMessage - stub\n" ));
92 return 0;
93}
94
95/******************************************************************************/
96UINT WIN32API mixerGetNumDevs( void )
97{
98 dprintf(("WINMM:mixerGetNumDevs - returning 0\n"));
99 return 0;
100}
101
102/******************************************************************************/
103MMRESULT WIN32API mixerOpen( LPHMIXER phmx, UINT uMxId, DWORD dwCallback, DWORD dwInstance, DWORD fdwOpen)
104{
105 dprintf(("WINMM:mixerOpen(%d) - stub\n", uMxId ));
106 return MMSYSERR_BADDEVICEID;
107}
108
109MMRESULT WIN32API mixerSetControlDetails(HMIXEROBJ hmxobj, LPMIXERCONTROLDETAILS pmxcd, DWORD fdwDetails)
110{
111 dprintf(("WINMM:mixerSetControlDetails - stub\n" ));
112 return MIXERR_INVALCONTROL;
113}
114
Note: See TracBrowser for help on using the repository browser.