| 1 | /* $Id: playsound.cpp,v 1.4 1999-08-19 18:46:05 phaller Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | * Playsound stubs
|
|---|
| 5 | *
|
|---|
| 6 | * Copyright 1998 Joel Troster
|
|---|
| 7 | *
|
|---|
| 8 | *
|
|---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 10 | *
|
|---|
| 11 | */
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | /****************************************************************************
|
|---|
| 15 | * Includes *
|
|---|
| 16 | ****************************************************************************/
|
|---|
| 17 |
|
|---|
| 18 | #include <os2wrap.h> //Odin32 OS/2 api wrappers
|
|---|
| 19 | #include <odinwrap.h>
|
|---|
| 20 | #include "win32type.h"
|
|---|
| 21 | #include "misc.h"
|
|---|
| 22 |
|
|---|
| 23 | ODINDEBUGCHANNEL(WINMM-PLAYSOUND)
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | /*****************************************************************************
|
|---|
| 27 | * Plays a sound specified by the given filename, resource, or
|
|---|
| 28 | * system event.
|
|---|
| 29 | * Parameters: LPCSTR pszSound
|
|---|
| 30 | * HMODULE hMod
|
|---|
| 31 | * DWORD fdwSound
|
|---|
| 32 | * Variables :
|
|---|
| 33 | * Result :
|
|---|
| 34 | * Remark :
|
|---|
| 35 | * Status :
|
|---|
| 36 | *
|
|---|
| 37 | * Author : Patrick Haller [Tue, 1998/05/05 10:44]
|
|---|
| 38 | *****************************************************************************/
|
|---|
| 39 |
|
|---|
| 40 | ODINFUNCTION3(BOOL, PlaySoundA,
|
|---|
| 41 | LPCSTR, pszSound,
|
|---|
| 42 | HMODULE, hmod,
|
|---|
| 43 | DWORD, fdwSound)
|
|---|
| 44 | {
|
|---|
| 45 | dprintf(("WINMM:PlaySoundA not implemented\n"));
|
|---|
| 46 | return(FALSE);
|
|---|
| 47 | }
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 | /*****************************************************************************
|
|---|
| 51 | * Plays a sound specified by the given filename, resource, or
|
|---|
| 52 | * system event.
|
|---|
| 53 | * Parameters: LPCSTR pszSound
|
|---|
| 54 | * HMODULE hMod
|
|---|
| 55 | * DWORD fdwSound
|
|---|
| 56 | * Variables :
|
|---|
| 57 | * Result :
|
|---|
| 58 | * Remark :
|
|---|
| 59 | * Status :
|
|---|
| 60 | *
|
|---|
| 61 | * Author : Patrick Haller [Tue, 1998/05/05 10:44]
|
|---|
| 62 | *****************************************************************************/
|
|---|
| 63 |
|
|---|
| 64 | ODINFUNCTION3(BOOL, PlaySoundW,
|
|---|
| 65 | LPCWSTR, pszSound,
|
|---|
| 66 | HMODULE, hmod,
|
|---|
| 67 | DWORD, fdwSound)
|
|---|
| 68 | {
|
|---|
| 69 | dprintf(("WINMM:PlaySoundW not implemented\n"));
|
|---|
| 70 | return(FALSE);
|
|---|
| 71 | }
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 | /*****************************************************************************
|
|---|
| 75 | * Plays a sound specified by the given filename
|
|---|
| 76 | * Parameters: LPCSTR pszSound
|
|---|
| 77 | * UINT fuSound
|
|---|
| 78 | * Variables :
|
|---|
| 79 | * Result :
|
|---|
| 80 | * Remark :
|
|---|
| 81 | * Status :
|
|---|
| 82 | *
|
|---|
| 83 | * Author : Patrick Haller [Tue, 1998/05/05 10:44]
|
|---|
| 84 | *****************************************************************************/
|
|---|
| 85 |
|
|---|
| 86 | ODINFUNCTION2(BOOL, sndPlaySoundA,
|
|---|
| 87 | LPCSTR, pszSound,
|
|---|
| 88 | UINT, fuSound)
|
|---|
| 89 | {
|
|---|
| 90 | dprintf(("WINMM:sndPlaySoundA not implemented\n"));
|
|---|
| 91 | return(FALSE);
|
|---|
| 92 | }
|
|---|
| 93 |
|
|---|
| 94 |
|
|---|
| 95 | /*****************************************************************************
|
|---|
| 96 | * Plays a sound specified by the given filename
|
|---|
| 97 | * Parameters: LPCWSTR pszSound
|
|---|
| 98 | * HMODULE hMod
|
|---|
| 99 | * DWORD fdwSound
|
|---|
| 100 | * Variables :
|
|---|
| 101 | * Result :
|
|---|
| 102 | * Remark :
|
|---|
| 103 | * Status :
|
|---|
| 104 | *
|
|---|
| 105 | * Author : Patrick Haller [Tue, 1998/05/05 10:44]
|
|---|
| 106 | *****************************************************************************/
|
|---|
| 107 |
|
|---|
| 108 | ODINFUNCTION2(BOOL, sndPlaySoundW,
|
|---|
| 109 | LPCWSTR, pszSound,
|
|---|
| 110 | UINT, fuSound)
|
|---|
| 111 | {
|
|---|
| 112 | dprintf(("WINMM:sndPlaySoundW not implemented\n"));
|
|---|
| 113 | return(FALSE);
|
|---|
| 114 | }
|
|---|
| 115 |
|
|---|