| 1 | /* $Id: mixer.cpp,v 1.3 1999-06-10 16:24:34 phaller 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 | /******************************************************************************/ | 
|---|
| 21 | MMRESULT WIN32API mixerClose( HMIXER hmx ) | 
|---|
| 22 | { | 
|---|
| 23 | dprintf(("WINMM:mixerClose - stub\n" )); | 
|---|
| 24 | return MMSYSERR_INVALHANDLE; | 
|---|
| 25 | } | 
|---|
| 26 |  | 
|---|
| 27 | /******************************************************************************/ | 
|---|
| 28 | MMRESULT WIN32API mixerGetControlDetailsA(HMIXEROBJ hmxobj, LPMIXERCONTROLDETAILS pmxcd, DWORD fdwDetails) | 
|---|
| 29 | { | 
|---|
| 30 | dprintf(("WINMM:mixerGetControlDetailsA - stub\n" )); | 
|---|
| 31 | return MIXERR_INVALCONTROL; | 
|---|
| 32 | } | 
|---|
| 33 |  | 
|---|
| 34 | /******************************************************************************/ | 
|---|
| 35 | MMRESULT WIN32API mixerGetControlDetailsW(HMIXEROBJ hmxobj, LPMIXERCONTROLDETAILS pmxcd, DWORD fdwDetails) | 
|---|
| 36 | { | 
|---|
| 37 | dprintf(("WINMM:mixerGetControlDetailsW - stub\n" )); | 
|---|
| 38 | return MIXERR_INVALCONTROL; | 
|---|
| 39 | } | 
|---|
| 40 |  | 
|---|
| 41 | /******************************************************************************/ | 
|---|
| 42 | MMRESULT WIN32API mixerGetDevCapsA( UINT uMxId, LPMIXERCAPSA pmxcaps, UINT cbmxcaps) | 
|---|
| 43 | { | 
|---|
| 44 | dprintf(("WINMM:mixerGetDevCapsA(%d) -stub\n", uMxId )); | 
|---|
| 45 | return MMSYSERR_BADDEVICEID; | 
|---|
| 46 | } | 
|---|
| 47 |  | 
|---|
| 48 | /******************************************************************************/ | 
|---|
| 49 | MMRESULT WIN32API mixerGetLineControlsA(HMIXEROBJ hmxobj, LPMIXERLINECONTROLSA pmxlc, DWORD fdwControls) | 
|---|
| 50 | { | 
|---|
| 51 | dprintf(("WINMM:mixerGetGetLineControlsA - stub\n" )); | 
|---|
| 52 | return MIXERR_INVALLINE; | 
|---|
| 53 | } | 
|---|
| 54 |  | 
|---|
| 55 | /******************************************************************************/ | 
|---|
| 56 | MMRESULT WIN32API mixerGetLineControlsW(HMIXEROBJ hmxobj, LPMIXERLINECONTROLSW pmxlc, DWORD fdwControls) | 
|---|
| 57 | { | 
|---|
| 58 | dprintf(("WINMM:mixerGetGetLineControlsW - stub\n" )); | 
|---|
| 59 | return MIXERR_INVALLINE; | 
|---|
| 60 | } | 
|---|
| 61 |  | 
|---|
| 62 | /******************************************************************************/ | 
|---|
| 63 | MMRESULT WIN32API mixerGetDevCapsW( UINT uMxId, LPMIXERCAPSW pmxcaps, UINT cbmxcaps) | 
|---|
| 64 | { | 
|---|
| 65 | dprintf(("WINMM:mixerGetDevCapsW(%u) - stub\n", uMxId )); | 
|---|
| 66 | return MMSYSERR_BADDEVICEID; | 
|---|
| 67 | } | 
|---|
| 68 |  | 
|---|
| 69 | /******************************************************************************/ | 
|---|
| 70 | MMRESULT WIN32API mixerGetID( HMIXEROBJ hmxobj, UINT *puMxId, DWORD fdwId) | 
|---|
| 71 | { | 
|---|
| 72 | dprintf(("WINMM:mixerGetID - stub\n" )); | 
|---|
| 73 | return MMSYSERR_INVALHANDLE; | 
|---|
| 74 | } | 
|---|
| 75 |  | 
|---|
| 76 | /******************************************************************************/ | 
|---|
| 77 | MMRESULT WIN32API mixerGetLineInfoA(HMIXEROBJ hmxobj, LPMIXERLINEA pmxl, DWORD fdwInfo) | 
|---|
| 78 | { | 
|---|
| 79 | dprintf(("WINMM:mixerGetLineInfoA - stub\n" )); | 
|---|
| 80 | return MIXERR_INVALLINE; | 
|---|
| 81 | } | 
|---|
| 82 |  | 
|---|
| 83 | /******************************************************************************/ | 
|---|
| 84 | MMRESULT WIN32API mixerGetLineInfoW(HMIXEROBJ hmxobj, LPMIXERLINEW pmxl, DWORD fdwInfo) | 
|---|
| 85 | { | 
|---|
| 86 | dprintf(("WINMM:mixerGetLineInfoW - stub\n" )); | 
|---|
| 87 | return MIXERR_INVALLINE; | 
|---|
| 88 | } | 
|---|
| 89 |  | 
|---|
| 90 | /******************************************************************************/ | 
|---|
| 91 | MMRESULT WIN32API mixerMessage( HMIXER hmx, UINT uMsg, DWORD dwParam1, DWORD dwParam2) | 
|---|
| 92 | { | 
|---|
| 93 | dprintf(("WINMM:mixerMessage - stub\n" )); | 
|---|
| 94 | return 0; | 
|---|
| 95 | } | 
|---|
| 96 |  | 
|---|
| 97 | /******************************************************************************/ | 
|---|
| 98 | UINT WIN32API mixerGetNumDevs( void ) | 
|---|
| 99 | { | 
|---|
| 100 | dprintf(("WINMM:mixerGetNumDevs - returning 0\n")); | 
|---|
| 101 | return 0; | 
|---|
| 102 | } | 
|---|
| 103 |  | 
|---|
| 104 | /******************************************************************************/ | 
|---|
| 105 | MMRESULT 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 |  | 
|---|
| 111 | MMRESULT WIN32API mixerSetControlDetails(HMIXEROBJ hmxobj, LPMIXERCONTROLDETAILS pmxcd, DWORD fdwDetails) | 
|---|
| 112 | { | 
|---|
| 113 | dprintf(("WINMM:mixerSetControlDetails - stub\n" )); | 
|---|
| 114 | return MIXERR_INVALCONTROL; | 
|---|
| 115 | } | 
|---|
| 116 |  | 
|---|