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/aux.cpp

    r95 r588  
    1 /* $Id: aux.cpp,v 1.3 1999-06-10 16:24:32 phaller Exp $ */
     1/* $Id: aux.cpp,v 1.4 1999-08-19 18:46:04 phaller Exp $ */
    22
    33/*
     
    1010 *
    1111 */
     12
     13
     14/****************************************************************************
     15 * Includes                                                                 *
     16 ****************************************************************************/
     17
    1218#include <os2win.h>
    1319#include <mmsystem.h>
    14 
     20#include <odinwrap.h>
    1521#include <string.h>
    1622
     
    2127#include "aux.h"
    2228
     29ODINDEBUGCHANNEL(WINMM-AUX)
     30
    2331/******************************************************************************/
    2432/******************************************************************************/
    25 MMRESULT WIN32API auxGetDevCapsA(UINT uDeviceID, LPAUXCAPSA pac, UINT cbac)
     33ODINFUNCTION3(MMRESULT, auxGetDevCapsA,
     34              UINT, uDeviceID,
     35              LPAUXCAPSA, pac,
     36              UINT, cbac)
    2637{
    2738  if(uDeviceID == AUX_MAPPER) {//AUX mapper
     
    4556/******************************************************************************/
    4657/******************************************************************************/
    47 MMRESULT WIN32API auxGetDevCapsW(UINT uDeviceID, LPAUXCAPSW pac, UINT cbac)
     58ODINFUNCTION3(MMRESULT, auxGetDevCapsW,
     59              UINT, uDeviceID,
     60              LPAUXCAPSW, pac,
     61              UINT, cbac)
    4862{
    4963  if(uDeviceID == AUX_MAPPER) {//AUX mapper
     
    6781/******************************************************************************/
    6882/******************************************************************************/
    69 MMRESULT WIN32API auxSetVolume(UINT uDeviceID, DWORD dwVolume)
     83ODINFUNCTION2(MMRESULT, auxSetVolume,
     84              UINT, uDeviceID,
     85              DWORD, dwVolume)
    7086{
    7187  if(uDeviceID == AUX_MAPPER) {//AUX mapper
     
    8298/******************************************************************************/
    8399/******************************************************************************/
    84 MMRESULT WIN32API auxGetVolume(UINT uDeviceID, LPDWORD pdwVolume)
     100ODINFUNCTION2(MMRESULT, auxGetVolume,
     101              UINT, uDeviceID,
     102              LPDWORD, pdwVolume)
    85103{
    86104  if(uDeviceID == AUX_MAPPER) {//AUX mapper
     
    97115/******************************************************************************/
    98116/******************************************************************************/
    99 UINT WIN32API auxGetNumDevs(void)
     117ODINFUNCTION0(UINT, auxGetNumDevs)
    100118{
    101   if(auxOS2Open() == FALSE) {
    102         return(0);
    103   }
    104   return 1;
     119  if(auxOS2Open() == FALSE)
     120    return(0);
     121  else
     122    return 1;
    105123}
    106124/******************************************************************************/
    107125/******************************************************************************/
    108 MMRESULT WIN32API auxOutMessage(UINT uDeviceID, UINT uMsg, DWORD dwParam1, DWORD dwParam2)
     126ODINFUNCTION4(MMRESULT, auxOutMessage,
     127              UINT, uDeviceID,
     128              UINT, uMsg,
     129              DWORD, dwParam1,
     130              DWORD, dwParam2)
    109131{
    110132  if(uDeviceID == AUX_MAPPER) {//AUX mapper
     
    137159/******************************************************************************/
    138160/******************************************************************************/
     161
Note: See TracChangeset for help on using the changeset viewer.