Ignore:
Timestamp:
Aug 19, 1999, 8:46:54 PM (26 years ago)
Author:
phaller
Message:

Add: added ODINWRAP support for WINMM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/winmm/playsound.cpp

    r120 r588  
    1 /* $Id: playsound.cpp,v 1.3 1999-06-19 10:54:48 sandervl Exp $ */
     1/* $Id: playsound.cpp,v 1.4 1999-08-19 18:46:05 phaller Exp $ */
    22
    33/*
     
    1010 *
    1111 */
    12 #include <os2wrap.h>    //Odin32 OS/2 api wrappers
     12
     13
     14/****************************************************************************
     15 * Includes                                                                 *
     16 ****************************************************************************/
     17
     18#include <os2wrap.h>       //Odin32 OS/2 api wrappers
     19#include <odinwrap.h>
    1320#include "win32type.h"
    1421#include "misc.h"
    1522
     23ODINDEBUGCHANNEL(WINMM-PLAYSOUND)
     24
     25
    1626/*****************************************************************************
    17  * Name      : BOOL WIN32API PlaySound
    18  * Purpose   : Plays a sound specified by the given filename, resource, or
     27 *             Plays a sound specified by the given filename, resource, or
    1928 *             system event.
    2029 * Parameters: LPCSTR  pszSound
     
    2837 * Author    : Patrick Haller [Tue, 1998/05/05 10:44]
    2938 *****************************************************************************/
    30 BOOL WIN32API PlaySoundA(LPCSTR pszSound, HMODULE hmod, DWORD fdwSound )
     39
     40ODINFUNCTION3(BOOL, PlaySoundA,
     41              LPCSTR, pszSound,
     42              HMODULE, hmod,
     43              DWORD, fdwSound)
    3144{
    3245  dprintf(("WINMM:PlaySoundA not implemented\n"));
    3346  return(FALSE);
    3447}
     48
     49
    3550/*****************************************************************************
    36  * Name      : BOOL WIN32API PlaySoundW
    37  * Purpose   : Plays a sound specified by the given filename, resource, or
     51 *             Plays a sound specified by the given filename, resource, or
    3852 *             system event.
    3953 * Parameters: LPCSTR  pszSound
     
    4761 * Author    : Patrick Haller [Tue, 1998/05/05 10:44]
    4862 *****************************************************************************/
    49 BOOL WIN32API PlaySoundW(LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound )
     63
     64ODINFUNCTION3(BOOL, PlaySoundW,
     65              LPCWSTR, pszSound,
     66              HMODULE, hmod,
     67              DWORD, fdwSound)
    5068{
    5169  dprintf(("WINMM:PlaySoundW not implemented\n"));
    5270  return(FALSE);
    5371}
    54 /******************************************************************************/
    55 /******************************************************************************/
    56 BOOL WIN32API sndPlaySoundA(LPCSTR pszSound, UINT fuSound)
     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
     86ODINFUNCTION2(BOOL, sndPlaySoundA,
     87              LPCSTR, pszSound,
     88              UINT, fuSound)
    5789{
    5890  dprintf(("WINMM:sndPlaySoundA not implemented\n"));
    5991  return(FALSE);
    6092}
    61 /******************************************************************************/
    62 /******************************************************************************/
    63 BOOL WIN32API sndPlaySoundW(LPCWSTR pszSound, UINT fuSound)
     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
     108ODINFUNCTION2(BOOL, sndPlaySoundW,
     109              LPCWSTR, pszSound,
     110              UINT, fuSound)
    64111{
    65112  dprintf(("WINMM:sndPlaySoundW not implemented\n"));
    66113  return(FALSE);
    67114}
    68 /******************************************************************************/
    69 /******************************************************************************/
     115
Note: See TracChangeset for help on using the changeset viewer.