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

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

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