Changeset 21841 for branches/gcc-kmk/src
- Timestamp:
- Dec 1, 2011, 10:19:11 PM (14 years ago)
- Location:
- branches/gcc-kmk/src/winmm
- Files:
-
- 5 added
- 26 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/winmm/IRTMidi.cpp
r5269 r21841 93 93 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDICreateInstance", &modAddr ); 94 94 if ( rc ) return rc; 95 pfnMidiCreateInstance = (ULONG( *APIENTRY )( ULONG, MINSTANCE*, PSZ, ULONG)) modAddr;95 pfnMidiCreateInstance = (ULONG(APIENTRY *)( ULONG, MINSTANCE*, PCSZ, ULONG)) modAddr; 96 96 97 97 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIDeleteInstance", &modAddr ); 98 98 if ( rc ) return rc; 99 pfnMidiDeleteInstance = (ULONG( *APIENTRY)(MINSTANCE, ULONG)) modAddr;99 pfnMidiDeleteInstance = (ULONG(APIENTRY *)(MINSTANCE, ULONG)) modAddr; 100 100 101 101 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIEnableInstance", &modAddr ); 102 102 if ( rc ) return rc; 103 pfnMidiEnableInstance = (ULONG( *APIENTRY)(MINSTANCE, ULONG)) modAddr;103 pfnMidiEnableInstance = (ULONG(APIENTRY *)(MINSTANCE, ULONG)) modAddr; 104 104 105 105 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIDisableInstance", &modAddr ); 106 106 if ( rc ) return rc; 107 pfnMidiDisableInstance = (ULONG( *APIENTRY)(MINSTANCE, ULONG)) modAddr;107 pfnMidiDisableInstance = (ULONG(APIENTRY *)(MINSTANCE, ULONG)) modAddr; 108 108 109 109 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIAddLink", &modAddr ); 110 110 if ( rc ) return rc; 111 pfnMidiAddLink = (ULONG( *APIENTRY)(MINSTANCE, MINSTANCE, ULONG, ULONG)) modAddr;111 pfnMidiAddLink = (ULONG(APIENTRY *)(MINSTANCE, MINSTANCE, ULONG, ULONG)) modAddr; 112 112 113 113 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIRemoveLink", &modAddr ); 114 114 if ( rc ) return rc; 115 pfnMidiRemoveLink = (ULONG( *APIENTRY)(MINSTANCE, MINSTANCE, ULONG, ULONG)) modAddr;115 pfnMidiRemoveLink = (ULONG(APIENTRY *)(MINSTANCE, MINSTANCE, ULONG, ULONG)) modAddr; 116 116 117 117 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIQueryClassList", &modAddr ); 118 118 if ( rc ) return rc; 119 pfnMidiQueryClassList = (ULONG( *APIENTRY)(ULONG, PMIDICLASSINFO, ULONG)) modAddr;119 pfnMidiQueryClassList = (ULONG(APIENTRY *)(ULONG, PMIDICLASSINFO, ULONG)) modAddr; 120 120 121 121 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIQueryInstanceList", &modAddr ); 122 122 if ( rc ) return rc; 123 pfnMidiQueryInstanceList = (ULONG( *APIENTRY)(ULONG, PMIDIINSTANCEINFO, ULONG)) modAddr;123 pfnMidiQueryInstanceList = (ULONG(APIENTRY *)(ULONG, PMIDIINSTANCEINFO, ULONG)) modAddr; 124 124 125 125 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIQueryNumClasses", &modAddr ); 126 126 if ( rc ) return rc; 127 pfnMidiQueryNumClasses = (ULONG( *APIENTRY)(PULONG, ULONG)) modAddr;127 pfnMidiQueryNumClasses = (ULONG(APIENTRY *)(PULONG, ULONG)) modAddr; 128 128 129 129 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIQueryNumInstances", &modAddr ); 130 130 if ( rc ) return rc; 131 pfnMidiQueryNumInstances = (ULONG( *APIENTRY)(PULONG, ULONG)) modAddr;131 pfnMidiQueryNumInstances = (ULONG(APIENTRY *)(PULONG, ULONG)) modAddr; 132 132 133 133 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDISendMessages", &modAddr ); 134 134 if ( rc ) return rc; 135 pfnMidiSendMessages = (ULONG( *APIENTRY)(PMESSAGE, ULONG, ULONG)) modAddr;135 pfnMidiSendMessages = (ULONG(APIENTRY *)(PMESSAGE, ULONG, ULONG)) modAddr; 136 136 137 137 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDISendSysexMessage", &modAddr ); 138 138 if ( rc ) return rc; 139 pfnMidiSendSysexMessage = (ULONG( *APIENTRY)(PMESSAGE, ULONG, ULONG)) modAddr;139 pfnMidiSendSysexMessage = (ULONG(APIENTRY *)(PMESSAGE, ULONG, ULONG)) modAddr; 140 140 141 141 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDIRetrieveMessages", &modAddr ); 142 142 if ( rc ) return rc; 143 pfnMidiRetrieveMessages = (ULONG( *APIENTRY)(MINSTANCE, PVOID, PULONG, ULONG)) modAddr;143 pfnMidiRetrieveMessages = (ULONG(APIENTRY *)(MINSTANCE, PVOID, PULONG, ULONG)) modAddr; 144 144 145 145 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDISetup", &modAddr ); 146 146 if ( rc ) return rc; 147 pfnMidiSetup = (ULONG( *APIENTRY)(PMIDISETUP, ULONG)) modAddr;147 pfnMidiSetup = (ULONG(APIENTRY *)(PMIDISETUP, ULONG)) modAddr; 148 148 149 149 rc = DosQueryProcAddr( iRTMidiModule, 0L, "MIDITimer", &modAddr ); 150 150 if ( rc ) return rc; 151 pfnMidiTimer = (ULONG( *APIENTRY)(ULONG, ULONG)) modAddr;151 pfnMidiTimer = (ULONG(APIENTRY *)(ULONG, ULONG)) modAddr; 152 152 153 153 return 0; … … 177 177 // IRTMidi :: RCExplanation 178 178 //------------------------------------------------------------------------------ 179 c har * IRTMidi::RCExplanation() const180 { 181 c har * DebugString;179 const char * IRTMidi::RCExplanation() const 180 { 181 const char * DebugString; 182 182 switch( iLastRC ) 183 183 { … … 460 460 } 461 461 462 ULONG IRTMidi::MidiCreateInstance( ULONG a, MINSTANCE* b, P SZ c, ULONG d)462 ULONG IRTMidi::MidiCreateInstance( ULONG a, MINSTANCE* b, PCSZ c, ULONG d) 463 463 { 464 464 ULONG ret; -
branches/gcc-kmk/src/winmm/auxos2.cpp
r7196 r21841 28 28 29 29 #include "auxiliary.h" 30 #include "init winmm.h"30 #include "initterm.h" 31 31 32 32 #define DBG_LOCALLOG DBG_auxos2 -
branches/gcc-kmk/src/winmm/dbglocal.cpp
r21358 r21841 19 19 USHORT DbgEnabledLvl2WINMM[DBG_MAXFILES] = {0}; 20 20 21 static c har *DbgFileNames[DBG_MAXFILES] =21 static const char *DbgFileNames[DBG_MAXFILES] = 22 22 { 23 23 "os2timer", -
branches/gcc-kmk/src/winmm/initterm.cpp
r21796 r21841 1 /* $Id: init winmm.cpp,v 1.15 2004-04-13 12:49:03 sandervlExp $1 /* $Id: initterm.cpp,v 1.20 2001-09-05 10:30:39 bird Exp $ 2 2 * 3 3 * WINMM DLL entry point … … 7 7 * Copyright 2000 Chris Wohlgemuth 8 8 * 9 *10 9 * Project Odin Software License can be found in LICENSE.TXT 11 *12 10 */ 13 11 14 /*-------------------------------------------------------------*/15 /* INITERM.C -- Source for a custom dynamic link library */16 /* initialization and termination (_DLL_InitTerm) */17 /* function. */18 /* */19 /* When called to perform initialization, this sample function */20 /* gets storage for an array of integers, and initializes its */21 /* elements with random integers. At termination time, it */22 /* frees the array. Substitute your own special processing. */23 /*-------------------------------------------------------------*/24 25 26 /* Include files */27 12 #define INCL_DOSMODULEMGR 28 13 #define INCL_DOSPROCESS … … 35 20 #include <stdio.h> 36 21 #include <string.h> 22 #ifndef __GNUC__ 37 23 #include <builtin.h> 24 #endif 38 25 #include <misc.h> /*PLF Wed 98-03-18 23:19:26*/ 39 26 #include <odin.h> … … 47 34 #include "waveoutbase.h" 48 35 #include <win/options.h> 49 #include "init winmm.h"36 #include "initterm.h" 50 37 #include <custombuild.h> 51 38 #include "mixer.h" … … 58 45 void MULTIMEDIA_DeleteIData(void); 59 46 60 extern "C" { 61 void IRTMidiShutdown(); // IRTMidi shutdown routine 62 63 //Win32 resource table (produced by wrc) 64 extern DWORD winmm_PEResTab; 65 } 47 extern "C" void IRTMidiShutdown(); // IRTMidi shutdown routine 48 49 // Win32 resource table (produced by wrc) 50 extern DWORD winmm_PEResTab; 51 66 52 static HMODULE dllHandle = 0; 67 53 static HMODULE MMPMLibraryHandle = 0; 68 54 69 static char *szBuggyAudio[] = { 70 "CWAUD", 71 "BSAUD", 72 "CRYSTAL" 55 static const char *szBuggyAudio[] = 56 { 57 "CWAUD", 58 "BSAUD", 59 "CRYSTAL" 73 60 }; 74 61 … … 76 63 77 64 DWORD (APIENTRY *pfnmciSendCommand)(WORD wDeviceID, 78 WORD wMessage,79 DWORD dwParam1,80 PVOID dwParam2,81 WORD wUserParm) = NULL;65 WORD wMessage, 66 DWORD dwParam1, 67 PVOID dwParam2, 68 WORD wUserParm) = NULL; 82 69 DWORD (APIENTRY *pfnmciGetErrorString)(DWORD dwError, 83 LPSTR lpstrBuffer, 84 WORD wLength) = NULL; 85 86 //****************************************************************************** 87 //****************************************************************************** 70 LPSTR lpstrBuffer, 71 WORD wLength) = NULL; 72 88 73 void WIN32API DisableWaveAudio() 89 74 { … … 92 77 pfnmciSendCommand = NULL; 93 78 } 94 //****************************************************************************** 95 //****************************************************************************** 79 96 80 BOOL WINAPI LibMainWinmm(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 97 81 { … … 216 200 return FALSE; 217 201 } 218 /****************************************************************************/ 219 /* _DLL_InitTerm is the function that gets called by the operating system */ 220 /* loader when it loads and frees this DLL for each process that accesses */ 221 /* this DLL. However, it only gets called the first time the DLL is loaded */ 222 /* and the last time it is freed for a particular process. The system */ 223 /* linkage convention MUST be used because the operating system loader is */ 224 /* calling this function. */ 225 /****************************************************************************/ 226 ULONG APIENTRY inittermWinmm(ULONG hModule, ULONG ulFlag) 227 { 228 /*-------------------------------------------------------------------------*/ 229 /* If ulFlag is zero then the DLL is being loaded so initialization should */ 230 /* be performed. If ulFlag is 1 then the DLL is being freed so */ 231 /* termination should be performed. */ 232 /*-------------------------------------------------------------------------*/ 233 234 switch (ulFlag) 235 { 236 case 0 : 237 ParseLogStatusWINMM(); 238 239 dllHandle = RegisterLxDll(hModule, LibMainWinmm, (PVOID)&winmm_PEResTab); 240 if(dllHandle == 0) 241 return 0UL;/* Error */ 242 243 dprintf(("winmm init %s %s (%x)", __DATE__, __TIME__, inittermWinmm)); 244 break; 245 case 1 : 246 auxOS2Close(); /* SvL: Close aux device if necessary */ 247 if(dllHandle) { 248 UnregisterLxDll(dllHandle); 249 } 250 break; 251 default : 252 return 0UL; 253 } 254 255 /***********************************************************/ 256 /* A non-zero value must be returned to indicate success. */ 257 /***********************************************************/ 258 return 1UL; 259 } 260 //****************************************************************************** 261 //****************************************************************************** 202 262 203 DWORD APIENTRY mymciSendCommand(WORD wDeviceID, 263 204 WORD wMessage, … … 275 216 return ret; 276 217 } 277 //****************************************************************************** 278 //****************************************************************************** 218 279 219 DWORD APIENTRY mymciGetErrorString(DWORD dwError, 280 220 LPSTR lpstrBuffer, … … 290 230 return ret; 291 231 } 292 //****************************************************************************** 293 //****************************************************************************** 232 233 ULONG SYSTEM DLL_InitWinMM32(ULONG hModule) 234 { 235 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 236 237 ParseLogStatusWINMM(); 238 239 dllHandle = RegisterLxDll(hModule, LibMainWinmm, (PVOID)&winmm_PEResTab); 240 if (dllHandle == 0) 241 return -1; 242 243 dprintf(("winmm init %s %s (%x)", __DATE__, __TIME__, DLL_InitWinMM32)); 244 245 return 0; 246 } 247 248 void SYSTEM DLL_TermWinMM32(ULONG hModule) 249 { 250 auxOS2Close(); /* SvL: Close aux device if necessary */ 251 252 if(dllHandle) 253 UnregisterLxDll(dllHandle); 254 } 255 256 ULONG SYSTEM DLL_Init(ULONG hModule) 257 { 258 if (DLL_InitDefault(hModule) == -1) 259 return -1; 260 return DLL_InitWinMM32(hModule); 261 } 262 263 void SYSTEM DLL_Term(ULONG hModule) 264 { 265 DLL_TermWinMM32(hModule); 266 DLL_TermDefault(hModule); 267 } -
branches/gcc-kmk/src/winmm/initterm.h
r21796 r21841 1 #ifndef __INIT WINMM_H__2 #define __INIT WINMM_H__1 #ifndef __INITTERM_H__ 2 #define __INITTERM_H__ 3 3 4 4 extern BOOL fMMPMAvailable; … … 14 14 15 15 16 #endif //__INIT WINMM_H__16 #endif //__INITTERM_H__ -
branches/gcc-kmk/src/winmm/irtmidi.hpp
r5269 r21841 87 87 unsigned long hardwareClass() const 88 88 { return iHardwareClass; }; 89 c har *RCExplanation() const;89 const char * RCExplanation() const; 90 90 static IRTMidi* instance(); 91 91 static void shutdown(); … … 103 103 104 104 // Methods for calls to RTMIDI functions 105 ULONG (*APIENTRY pfnMidiCreateInstance) ( ULONG, MINSTANCE*, P SZ, ULONG );105 ULONG (*APIENTRY pfnMidiCreateInstance) ( ULONG, MINSTANCE*, PCSZ, ULONG ); 106 106 ULONG (*APIENTRY pfnMidiDeleteInstance) ( MINSTANCE, ULONG ); 107 107 ULONG (*APIENTRY pfnMidiEnableInstance) ( MINSTANCE, ULONG ); … … 119 119 ULONG (*APIENTRY pfnMidiTimer) ( ULONG, ULONG ); 120 120 121 ULONG MidiCreateInstance ( ULONG, MINSTANCE*, P SZ, ULONG );121 ULONG MidiCreateInstance ( ULONG, MINSTANCE*, PCSZ, ULONG ); 122 122 ULONG MidiDeleteInstance ( MINSTANCE, ULONG ); 123 123 ULONG MidiEnableInstance ( MINSTANCE, ULONG ); -
branches/gcc-kmk/src/winmm/mci.cpp
r10410 r21841 157 157 { 158 158 dprintf(("WINMM:mciGetErrorStringA(%d)\n", mcierr )); 159 c har * theMsg = getWinmmMsg( mcierr );159 const char * theMsg = getWinmmMsg( mcierr ); 160 160 if ( theMsg ) 161 161 strncpy( pszText, theMsg, cchText ); … … 184 184 { 185 185 dprintf(("WINMM:mciGetErrorStringW(%d)\n", mcierr )); 186 c har * theMsg = getWinmmMsg( mcierr );186 const char * theMsg = getWinmmMsg( mcierr ); 187 187 if ( theMsg ) 188 188 AsciiToUnicodeN( theMsg, pszText, cchText ); -
branches/gcc-kmk/src/winmm/mcicda/mcicda.cpp
r4982 r21841 407 407 static DWORD CDAUDIO_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_INFO_PARMSA lpParms) 408 408 { 409 LP STR str = NULL;409 LPCSTR str = NULL; 410 410 WINE_MCICDAUDIO* wmcda = CDAUDIO_mciGetOpenDrv(wDevID); 411 411 DWORD ret = 0; … … 758 758 break; 759 759 default: 760 TRACE("Seeking to ??=%lu\n", dwFlags);760 TRACE("Seeking to #%lu\n", dwFlags); 761 761 return MCIERR_UNSUPPORTED_FUNCTION; 762 762 } -
branches/gcc-kmk/src/winmm/mcicda/mcicda.def
r4809 r21841 5 5 6 6 EXPORTS 7 DriverProc = _MCICDAUDIO_DriverProc@20@17 DriverProc = "_MCICDAUDIO_DriverProc@20" @1 -
branches/gcc-kmk/src/winmm/mcicda/os2cdrom.cpp
r9976 r21841 148 148 149 149 rc = DosDevIOCtl(hfOS2Handle, IOCTL_CDROMAUDIO, CDROMAUDIO_GETAUDIODISK, 150 "CD01", 4, &ulParamLen, &cdInfo,150 (void*)"CD01", 4, &ulParamLen, &cdInfo, 151 151 sizeof(cdInfo), &ulDataLen); 152 152 … … 194 194 ulParamLen=4; 195 195 rc = DosDevIOCtl(hfOS2Handle, IOCTL_CDROMDISK, CDROMDISK_DEVICESTATUS, 196 "CD01", 4, &ulParamLen, &ulDeviceStatus,196 (void*)"CD01", 4, &ulParamLen, &ulDeviceStatus, 197 197 sizeof(ulDeviceStatus), &ulDataLen); 198 198 if(rc) { … … 218 218 /* Get information */ 219 219 rc = DosDevIOCtl(hfOS2Handle, IOCTL_CDROMAUDIO, CDROMAUDIO_GETAUDIOSTATUS, 220 "CD01", 4, &ulParamLen, &asStatus,220 (void*)"CD01", 4, &ulParamLen, &asStatus, 221 221 sizeof(asStatus), &ulDataLen); 222 222 if(rc) { … … 247 247 ulParamLen=4; 248 248 rc = DosDevIOCtl(hfDrive, IOCTL_CDROMAUDIO, CDROMAUDIO_GETAUDIODISK, 249 "CD01", 4, &ulParamLen, &cdInfo,249 (void*)"CD01", 4, &ulParamLen, &cdInfo, 250 250 sizeof(cdInfo), &ulDataLen); 251 251 if(rc) … … 292 292 ulParamLen=4; 293 293 rc = DosDevIOCtl(hfDrive, IOCTL_CDROMDISK, CDROMDISK_EJECTDISK, 294 "CD01", 4, &ulParamLen,0,294 (void*)"CD01", 4, &ulParamLen,0, 295 295 0, 0); 296 296 if(rc) … … 314 314 ulParamLen=4; 315 315 rc = DosDevIOCtl(hfDrive, IOCTL_CDROMDISK, CDROMDISK_CLOSETRAY, 316 "CD01", 4, &ulParamLen,0,316 (void*)"CD01", 4, &ulParamLen,0, 317 317 0, 0); 318 318 if(rc) … … 335 335 ulParamLen=4; 336 336 rc = DosDevIOCtl(hfDrive, IOCTL_CDROMAUDIO, CDROMAUDIO_STOPAUDIO, 337 "CD01", 4, &ulParamLen,0,337 (void*)"CD01", 4, &ulParamLen,0, 338 338 0, 0); 339 339 if(rc) … … 396 396 ulParamLen=4; 397 397 rc = DosDevIOCtl(hfDrive, IOCTL_CDROMAUDIO, CDROMAUDIO_RESUMEAUDIO, 398 "CD01", 4, &ulParamLen,0,398 (void*)"CD01", 4, &ulParamLen,0, 399 399 0, 0); 400 400 if(rc) … … 484 484 ulParamLen=4; 485 485 rc = DosDevIOCtl(hfOS2Handle, IOCTL_CDROMAUDIO, CDROMAUDIO_GETSUBCHANNELQ, 486 "CD01", 4, &ulParamLen, &scq,486 (void*)"CD01", 4, &ulParamLen, &scq, 487 487 sizeof(scq), &ulDataLen); 488 488 if(rc) { -
branches/gcc-kmk/src/winmm/mciwave/mciwave.c
r10410 r21841 23 23 24 24 #include <stdarg.h> 25 #include <string.h> 26 #include <memory.h> 25 27 26 28 #include "winerror.h" -
branches/gcc-kmk/src/winmm/mciwave/mciwave.def
r4809 r21841 6 6 7 7 EXPORTS 8 DriverProc = _MCIWAVE_DriverProc@20@18 DriverProc = "_MCIWAVE_DriverProc@20" @1 -
branches/gcc-kmk/src/winmm/midi.cpp
r10173 r21841 38 38 */ 39 39 40 c har * getWinmmMsg( MMRESULT result )41 { 42 c har * ret;40 const char * getWinmmMsg( MMRESULT result ) 41 { 42 const char * ret; 43 43 switch ( result ) 44 44 { … … 243 243 { 244 244 dprintf(("WINMM:midiInGetErrorTextA(%d)\n", wError )); 245 c har * theMsg = getWinmmMsg( wError );245 const char * theMsg = getWinmmMsg( wError ); 246 246 if ( theMsg ) 247 247 strncpy( lpText, theMsg, cchText ); … … 260 260 { 261 261 dprintf(("WINMM:midiInGetErrorTextW(%d)\n", wError )); 262 c har * theMsg = getWinmmMsg( wError );262 const char * theMsg = getWinmmMsg( wError ); 263 263 if ( theMsg ) 264 264 AsciiToUnicodeN( theMsg, lpText, cchText ); … … 563 563 { 564 564 dprintf(("WINMM:midiOutGetErrorTextA(%d)\n", wError )); 565 c har * theMsg = getWinmmMsg( wError );565 const char * theMsg = getWinmmMsg( wError ); 566 566 if ( theMsg ) 567 567 strncpy( lpText, theMsg, cchText ); … … 579 579 { 580 580 dprintf(("WINMM:midiOutGetErrorTextW(%d) - need to translate\n", wError )); 581 c har * theMsg = getWinmmMsg( wError );581 const char * theMsg = getWinmmMsg( wError ); 582 582 if ( theMsg ) 583 583 AsciiToUnicodeN( theMsg, lpText, cchText ); -
branches/gcc-kmk/src/winmm/mixer.cpp
r21570 r21841 34 34 #include "waveoutdart.h" 35 35 #include "winmm.h" 36 #include "init winmm.h"36 #include "initterm.h" 37 37 #include "mixer.h" 38 38 #include "mixeros2.h" … … 749 749 //find line associated with this control 750 750 lpMlc->dwLineID = -1; 751 for(int i=0;i<nrLines;i++) { 751 int i; 752 for(i=0;i<nrLines;i++) { 752 753 for(int j=0;j<pmixerLines[i]->cControls;j++) { 753 754 if(pmixerLines[i]->Controls[j] == lpMlc->u.dwControlID) { … … 1086 1087 #endif 1087 1088 //search all lines (src & dest) for one with specified type 1088 for(int i=0;i<nrLines;i++) { 1089 int i; 1090 for(i=0;i<nrLines;i++) { 1089 1091 if(pmixerLines[i]->line.dwComponentType == lpMl->dwComponentType) { 1090 1092 break; … … 1130 1132 //TODO: Should we compare mid, pid & pddname too? (must be initialized according to MSDN) 1131 1133 // (see below; unicode version doesn't copy pddname; change if these checks are required) 1134 int i; 1132 1135 for(int i=0;i<nrLines;i++) { 1133 1136 if(pmixerLines[i]->line.Target.dwType == lpMl->Target.dwType) { … … 1371 1374 1372 1375 memset(mixerDest, 0, sizeof(mixerDest)); 1373 for(int i=0;i<MIXER_DEST_MAX;i++) { 1376 int i; 1377 for(i=0;i<MIXER_DEST_MAX;i++) { 1374 1378 memset(mixerDest[i].Connections, -1, sizeof(mixerDest[i].Connections)); 1375 1379 memset(mixerDest[i].Controls, -1, sizeof(mixerDest[i].Controls)); -
branches/gcc-kmk/src/winmm/mixer.h
r8495 r21841 56 56 void mixerExit(); 57 57 58 extern c har *szCtrlName[MIX_CTRL_MAX][2];59 extern c har *szSourceName[MIXER_SRC_MAX][2];60 extern c har *szDestName[MIXER_DEST_MAX][2];58 extern const char *szCtrlName[MIX_CTRL_MAX][2]; 59 extern const char *szSourceName[MIXER_SRC_MAX][2]; 60 extern const char *szDestName[MIXER_DEST_MAX][2]; 61 61 62 62 #ifdef __cplusplus -
branches/gcc-kmk/src/winmm/mixerdata.cpp
r8493 r21841 17 17 /******************************************************************************/ 18 18 /******************************************************************************/ 19 c har *szCtrlName[MIX_CTRL_MAX][2] = {19 const char *szCtrlName[MIX_CTRL_MAX][2] = { 20 20 { 21 21 "MasterVol", … … 201 201 /******************************************************************************/ 202 202 /******************************************************************************/ 203 c har *szDestName[MIXER_DEST_MAX][2] = {203 const char *szDestName[MIXER_DEST_MAX][2] = { 204 204 { 205 205 "Volume Control", … … 217 217 /******************************************************************************/ 218 218 /******************************************************************************/ 219 c har *szSourceName[MIXER_SRC_MAX][2] = {219 const char *szSourceName[MIXER_SRC_MAX][2] = { 220 220 { 221 221 "MonoIn", -
branches/gcc-kmk/src/winmm/mixeros2.cpp
r8858 r21841 23 23 #include <ioctl90.h> 24 24 25 #include "init winmm.h"25 #include "initterm.h" 26 26 #include "mixeros2.h" 27 27 -
branches/gcc-kmk/src/winmm/playsound.cpp
r21720 r21841 17 17 * Includes * 18 18 ****************************************************************************/ 19 20 #include <string.h> 19 21 20 22 #include <os2win.h> … … 23 25 #include <heapstring.h> 24 26 #include <misc.h> 25 #include <string.h>26 27 #include <win/debugtools.h> 27 28 -
branches/gcc-kmk/src/winmm/wavein.cpp
r21358 r21841 28 28 #include "winmm.h" 29 29 #include "waveindart.h" 30 #include "init winmm.h"30 #include "initterm.h" 31 31 32 32 #define DBG_LOCALLOG DBG_wavein … … 281 281 { 282 282 dprintf(("WINMM:waveInGetErrorTextA(%d)\n", wError )); 283 c har * theMsg = getWinmmMsg( wError );283 const char * theMsg = getWinmmMsg( wError ); 284 284 if ( theMsg ) 285 285 strncpy( lpText, theMsg, cchText ); … … 297 297 { 298 298 dprintf(("WINMM:waveInGetErrorTextW(%d) - stub\n", wError )); 299 c har * theMsg = getWinmmMsg( wError );299 const char * theMsg = getWinmmMsg( wError ); 300 300 if ( theMsg ) 301 301 AsciiToUnicodeN( theMsg, lpText, cchText ); -
branches/gcc-kmk/src/winmm/waveindart.cpp
r21358 r21841 28 28 #include "misc.h" 29 29 #include "waveindart.h" 30 #include "init winmm.h"30 #include "initterm.h" 31 31 32 32 #define DBG_LOCALLOG DBG_waveindart -
branches/gcc-kmk/src/winmm/waveout.cpp
r21358 r21841 31 31 #include "misc.h" 32 32 #include "winmm.h" 33 #include "init winmm.h"33 #include "initterm.h" 34 34 35 35 #define DBG_LOCALLOG DBG_waveout … … 315 315 MMRESULT WINAPI waveOutGetErrorTextA(MMRESULT wError, LPSTR lpText, UINT cchText) 316 316 { 317 c har * theMsg = getWinmmMsg( wError );317 const char * theMsg = getWinmmMsg( wError ); 318 318 if(theMsg) { 319 319 strncpy( lpText, theMsg, cchText ); … … 331 331 MMRESULT WINAPI waveOutGetErrorTextW(MMRESULT wError, LPWSTR lpText, UINT cchText) 332 332 { 333 c har * theMsg = getWinmmMsg( wError );333 const char * theMsg = getWinmmMsg( wError ); 334 334 if(theMsg) { 335 335 AsciiToUnicodeN( theMsg, lpText, cchText ); -
branches/gcc-kmk/src/winmm/waveoutbase.cpp
r21358 r21841 30 30 #include "misc.h" 31 31 #include "waveoutbase.h" 32 #include "init winmm.h"32 #include "initterm.h" 33 33 34 34 #define DBG_LOCALLOG DBG_waveoutbase -
branches/gcc-kmk/src/winmm/waveoutdart.cpp
r21358 r21841 33 33 #include "misc.h" 34 34 #include "waveoutdart.h" 35 #include "init winmm.h"35 #include "initterm.h" 36 36 37 37 #define DBG_LOCALLOG DBG_waveoutdart … … 759 759 dprintf2(("WaveOutHandler %x %x %x", ulStatus, pBuffer, ulFlags)); 760 760 761 #ifdef __IBMC__ 761 762 ptib2 = (PTIB2)_getTIBvalue(offsetof(TIB, tib_ptib2)); 763 #else 764 PTIB ptib; 765 DosGetInfoBlocks(&ptib, NULL); 766 ptib2 = ptib->tib_ptib2; 767 #endif 768 762 769 if (ptib2 && HIBYTE(ptib2->tib2_ulpri) != PRTYC_TIMECRITICAL && 763 770 LOBYTE(ptib2->tib2_ulpri) != PRTYD_MAXIMUM) -
branches/gcc-kmk/src/winmm/waveoutflash.cpp
r21358 r21841 31 31 #include "misc.h" 32 32 #include "waveoutflash.h" 33 #include "init winmm.h"33 #include "initterm.h" 34 34 35 35 #define DBG_LOCALLOG DBG_waveoutflash … … 338 338 MCI_BUFFER_PARMS BufferParms; 339 339 340 dprintf(( __FUNCTION__" - bufsize= %d", dartBufSize));340 dprintf(("$ - bufsize= %d", __FUNCTION__, dartBufSize)); 341 341 342 342 // Set up the BufferParms data structure and … … 763 763 // Displays the text associated with an MCI error code. 764 764 765 void FlashWaveOut::mciError(c har * msg, ULONG rc)765 void FlashWaveOut::mciError(const char * msg, ULONG rc) 766 766 { 767 767 #ifdef DEBUG -
branches/gcc-kmk/src/winmm/waveoutflash.h
r21358 r21841 48 48 void writeBuffer(); 49 49 void handler(ULONG ulStatus, PMCI_MIX_BUFFER pBuffer, ULONG ulFlags); 50 void mciError(c har * msg, ULONG rc);50 void mciError(const char * msg, ULONG rc); 51 51 52 52 private: … … 70 70 }; 71 71 72 LONG APIENTRY FlashWaveOutHandler(ULONG ulStatus, PMCI_MIX_BUFFER pBuffer, 73 ULONG ulFlags); 74 72 75 #endif 73 76 -
branches/gcc-kmk/src/winmm/winmm.def
r21692 r21841 9 9 10 10 ; DRIVER 11 PlaySoundA = _PlaySoundA@12@212 CloseDriver = _CloseDriver@12@513 DefDriverProc = _DefDriverProc@20@614 DriverCallback = _DriverCallback@28@715 DrvClose = _CloseDriver@12@816 DrvDefDriverProc = _DefDriverProc@20@917 DrvGetModuleHandle = _GetDriverModuleHandle@4@1018 DrvOpen = _OpenDriverA@12@1119 DrvOpenA = _OpenDriverA@12@1220 DrvSendMessage = _SendDriverMessage@16@1321 GetDriverFlags = _GetDriverFlags@4@1422 GetDriverModuleHandle = _GetDriverModuleHandle@4@1523 OpenDriver = _OpenDriverA@12@1624 OpenDriverA = _OpenDriverA@12@1725 PlaySound = _PlaySoundA@12@1826 PlaySoundW = _PlaySoundW@12@1927 SendDriverMessage = _SendDriverMessage@16@2011 PlaySoundA = "_PlaySoundA@12" @2 12 CloseDriver = "_CloseDriver@12" @5 13 DefDriverProc = "_DefDriverProc@20" @6 14 DriverCallback = "_DriverCallback@28" @7 15 DrvClose = "_CloseDriver@12" @8 16 DrvDefDriverProc = "_DefDriverProc@20" @9 17 DrvGetModuleHandle = "_GetDriverModuleHandle@4" @10 18 DrvOpen = "_OpenDriverA@12" @11 19 DrvOpenA = "_OpenDriverA@12" @12 20 DrvSendMessage = "_SendDriverMessage@16" @13 21 GetDriverFlags = "_GetDriverFlags@4" @14 22 GetDriverModuleHandle = "_GetDriverModuleHandle@4" @15 23 OpenDriver = "_OpenDriverA@12" @16 24 OpenDriverA = "_OpenDriverA@12" @17 25 PlaySound = "_PlaySoundA@12" @18 26 PlaySoundW = "_PlaySoundW@12" @19 27 SendDriverMessage = "_SendDriverMessage@16" @20 28 28 29 29 ; AUX 30 auxGetDevCapsA = _auxGetDevCapsA@12@2131 auxGetDevCapsW = _auxGetDevCapsW@12@2232 auxGetNumDevs = _auxGetNumDevs@0@2333 auxGetVolume = _auxGetVolume@8@2434 auxOutMessage = _auxOutMessage@16@2535 auxSetVolume = _auxSetVolume@8@2630 auxGetDevCapsA = "_auxGetDevCapsA@12" @21 31 auxGetDevCapsW = "_auxGetDevCapsW@12" @22 32 auxGetNumDevs = "_auxGetNumDevs@0" @23 33 auxGetVolume = "_auxGetVolume@8" @24 34 auxOutMessage = "_auxOutMessage@16" @25 35 auxSetVolume = "_auxSetVolume@8" @26 36 36 ; JOY 37 joyConfigChanged = _joyConfigChanged@4@2738 joyGetDevCapsA = _joyGetDevCapsA@12@2839 joyGetDevCapsW = _joyGetDevCapsW@12@2940 joyGetNumDevs = _joyGetNumDevs@0@3041 joyGetPos = _joyGetPos@8@3142 joyGetPosEx = _joyGetPosEx@8@3243 joyGetThreshold = _joyGetThreshold@8@3344 joyReleaseCapture = _joyReleaseCapture@4@3445 joySetCapture = _joySetCapture@16@3546 joySetThreshold = _joySetThreshold@8@3637 joyConfigChanged = "_joyConfigChanged@4" @27 38 joyGetDevCapsA = "_joyGetDevCapsA@12" @28 39 joyGetDevCapsW = "_joyGetDevCapsW@12" @29 40 joyGetNumDevs = "_joyGetNumDevs@0" @30 41 joyGetPos = "_joyGetPos@8" @31 42 joyGetPosEx = "_joyGetPosEx@8" @32 43 joyGetThreshold = "_joyGetThreshold@8" @33 44 joyReleaseCapture = "_joyReleaseCapture@4" @34 45 joySetCapture = "_joySetCapture@16" @35 46 joySetThreshold = "_joySetThreshold@8" @36 47 47 ; MCI 48 mciDriverNotify = _mciDriverNotify@12@3749 mciDriverYield = _mciDriverYield@4@3850 mciExecute = _mciExecute@4@3951 mciFreeCommandResource = _mciFreeCommandResource@4@4052 mciGetCreatorTask = _mciGetCreatorTask@4@4153 mciGetDeviceIDA = _mciGetDeviceIDA@4@4254 mciGetDeviceIDFromElementIDW = _mciGetDeviceIDFromElementIDW@8@4355 mciGetDeviceIDW = _mciGetDeviceIDW@4@4456 mciGetDriverData = _mciGetDriverData@4@4557 mciGetErrorStringA = _mciGetErrorStringA@12@4658 mciGetErrorStringW = _mciGetErrorStringW@12@4759 mciGetYieldProc = _mciGetYieldProc@8@4860 mciLoadCommandResource = _mciLoadCommandResource@12@4961 mciSendCommandA = _mciSendCommandA@16@5062 mciSendCommandW = _mciSendCommandW@16@5163 mciSendStringA = _mciSendStringA@16@5264 mciSendStringW = _mciSendStringW@16@5365 mciSetDriverData = _mciSetDriverData@8@5466 mciSetYieldProc = _mciSetYieldProc@12@5548 mciDriverNotify = "_mciDriverNotify@12" @37 49 mciDriverYield = "_mciDriverYield@4" @38 50 mciExecute = "_mciExecute@4" @39 51 mciFreeCommandResource = "_mciFreeCommandResource@4" @40 52 mciGetCreatorTask = "_mciGetCreatorTask@4" @41 53 mciGetDeviceIDA = "_mciGetDeviceIDA@4" @42 54 mciGetDeviceIDFromElementIDW = "_mciGetDeviceIDFromElementIDW@8" @43 55 mciGetDeviceIDW = "_mciGetDeviceIDW@4" @44 56 mciGetDriverData = "_mciGetDriverData@4" @45 57 mciGetErrorStringA = "_mciGetErrorStringA@12" @46 58 mciGetErrorStringW = "_mciGetErrorStringW@12" @47 59 mciGetYieldProc = "_mciGetYieldProc@8" @48 60 mciLoadCommandResource = "_mciLoadCommandResource@12" @49 61 mciSendCommandA = "_mciSendCommandA@16" @50 62 mciSendCommandW = "_mciSendCommandW@16" @51 63 mciSendStringA = "_mciSendStringA@16" @52 64 mciSendStringW = "_mciSendStringW@16" @53 65 mciSetDriverData = "_mciSetDriverData@8" @54 66 mciSetYieldProc = "_mciSetYieldProc@12" @55 67 67 ; 68 68 ; MIDI 69 midiConnect = _midiConnect@12@5670 midiDisconnect = _midiDisconnect@12@5771 midiInAddBuffer = _midiInAddBuffer@12@5872 midiInClose = _midiInClose@4@5973 midiInGetDevCapsA = _midiInGetDevCapsA@12@6074 midiInGetDevCapsW = _midiInGetDevCapsW@12@6175 midiInGetErrorTextA = _midiInGetErrorTextA@12@6276 midiInGetErrorTextW = _midiInGetErrorTextW@12@6377 midiInGetID = _midiInGetID@8@6478 midiInGetNumDevs = _midiInGetNumDevs@0@6579 midiInMessage = _midiInMessage@16@6680 midiInOpen = _midiInOpen@20@6781 midiInPrepareHeader = _midiInPrepareHeader@12@6882 midiInReset = _midiInReset@4@6983 midiInStart = _midiInStart@4@7084 midiInStop = _midiInStop@4@7185 midiInUnprepareHeader = _midiInUnprepareHeader@12@7286 midiOutCacheDrumPatches = _midiOutCacheDrumPatches@16@7387 midiOutCachePatches = _midiOutCachePatches@16@7488 midiOutClose = _midiOutClose@4@7589 midiOutGetDevCapsA = _midiOutGetDevCapsA@12@7690 midiOutGetDevCapsW = _midiOutGetDevCapsW@12@7791 midiOutGetErrorTextA = _midiOutGetErrorTextA@12@7892 midiOutGetErrorTextW = _midiOutGetErrorTextW@12@7993 midiOutGetID = _midiOutGetID@8@8094 midiOutGetNumDevs = _midiOutGetNumDevs@0@8195 midiOutGetVolume = _midiOutGetVolume@8@8296 midiOutLongMsg = _midiOutLongMsg@12@8397 midiOutMessage = _midiOutMessage@16@8498 midiOutOpen = _midiOutOpen@20@8599 midiOutPrepareHeader = _midiOutPrepareHeader@12@86100 midiOutReset = _midiOutReset@4@87101 midiOutSetVolume = _midiOutSetVolume@8@88102 midiOutShortMsg = _midiOutShortMsg@8@89103 midiOutUnprepareHeader = _midiOutUnprepareHeader@12@90104 midiStreamClose = _midiStreamClose@4@91105 midiStreamOpen = _midiStreamOpen@24@92106 midiStreamOut = _midiStreamOut@12@93107 midiStreamPause = _midiStreamPause@4@94108 midiStreamPosition = _midiStreamPosition@12@95109 midiStreamProperty = _midiStreamProperty@12@96110 midiStreamRestart = _midiStreamRestart@4@97111 midiStreamStop = _midiStreamStop@4@9869 midiConnect = "_midiConnect@12" @56 70 midiDisconnect = "_midiDisconnect@12" @57 71 midiInAddBuffer = "_midiInAddBuffer@12" @58 72 midiInClose = "_midiInClose@4" @59 73 midiInGetDevCapsA = "_midiInGetDevCapsA@12" @60 74 midiInGetDevCapsW = "_midiInGetDevCapsW@12" @61 75 midiInGetErrorTextA = "_midiInGetErrorTextA@12" @62 76 midiInGetErrorTextW = "_midiInGetErrorTextW@12" @63 77 midiInGetID = "_midiInGetID@8" @64 78 midiInGetNumDevs = "_midiInGetNumDevs@0" @65 79 midiInMessage = "_midiInMessage@16" @66 80 midiInOpen = "_midiInOpen@20" @67 81 midiInPrepareHeader = "_midiInPrepareHeader@12" @68 82 midiInReset = "_midiInReset@4" @69 83 midiInStart = "_midiInStart@4" @70 84 midiInStop = "_midiInStop@4" @71 85 midiInUnprepareHeader = "_midiInUnprepareHeader@12" @72 86 midiOutCacheDrumPatches = "_midiOutCacheDrumPatches@16" @73 87 midiOutCachePatches = "_midiOutCachePatches@16" @74 88 midiOutClose = "_midiOutClose@4" @75 89 midiOutGetDevCapsA = "_midiOutGetDevCapsA@12" @76 90 midiOutGetDevCapsW = "_midiOutGetDevCapsW@12" @77 91 midiOutGetErrorTextA = "_midiOutGetErrorTextA@12" @78 92 midiOutGetErrorTextW = "_midiOutGetErrorTextW@12" @79 93 midiOutGetID = "_midiOutGetID@8" @80 94 midiOutGetNumDevs = "_midiOutGetNumDevs@0" @81 95 midiOutGetVolume = "_midiOutGetVolume@8" @82 96 midiOutLongMsg = "_midiOutLongMsg@12" @83 97 midiOutMessage = "_midiOutMessage@16" @84 98 midiOutOpen = "_midiOutOpen@20" @85 99 midiOutPrepareHeader = "_midiOutPrepareHeader@12" @86 100 midiOutReset = "_midiOutReset@4" @87 101 midiOutSetVolume = "_midiOutSetVolume@8" @88 102 midiOutShortMsg = "_midiOutShortMsg@8" @89 103 midiOutUnprepareHeader = "_midiOutUnprepareHeader@12" @90 104 midiStreamClose = "_midiStreamClose@4" @91 105 midiStreamOpen = "_midiStreamOpen@24" @92 106 midiStreamOut = "_midiStreamOut@12" @93 107 midiStreamPause = "_midiStreamPause@4" @94 108 midiStreamPosition = "_midiStreamPosition@12" @95 109 midiStreamProperty = "_midiStreamProperty@12" @96 110 midiStreamRestart = "_midiStreamRestart@4" @97 111 midiStreamStop = "_midiStreamStop@4" @98 112 112 ; MIXER 113 mixerClose = _mixerClose@4@99114 mixerGetControlDetailsA = _mixerGetControlDetailsA@12@100115 mixerGetControlDetailsW = _mixerGetControlDetailsW@12@101116 mixerGetDevCapsA = _mixerGetDevCapsA@12@102117 mixerGetDevCapsW = _mixerGetDevCapsW@12@103118 mixerGetID = _mixerGetID@12@104119 mixerGetLineControlsA = _mixerGetLineControlsA@12@105120 mixerGetLineControlsW = _mixerGetLineControlsW@12@106121 mixerGetLineInfoA = _mixerGetLineInfoA@12@107122 mixerGetLineInfoW = _mixerGetLineInfoW@12@108123 mixerGetNumDevs = _mixerGetNumDevs@0@109124 mixerMessage = _mixerMessage@16@110125 mixerOpen = _mixerOpen@20@111126 mixerSetControlDetails = _mixerSetControlDetails@12@112113 mixerClose = "_mixerClose@4" @99 114 mixerGetControlDetailsA = "_mixerGetControlDetailsA@12" @100 115 mixerGetControlDetailsW = "_mixerGetControlDetailsW@12" @101 116 mixerGetDevCapsA = "_mixerGetDevCapsA@12" @102 117 mixerGetDevCapsW = "_mixerGetDevCapsW@12" @103 118 mixerGetID = "_mixerGetID@12" @104 119 mixerGetLineControlsA = "_mixerGetLineControlsA@12" @105 120 mixerGetLineControlsW = "_mixerGetLineControlsW@12" @106 121 mixerGetLineInfoA = "_mixerGetLineInfoA@12" @107 122 mixerGetLineInfoW = "_mixerGetLineInfoW@12" @108 123 mixerGetNumDevs = "_mixerGetNumDevs@0" @109 124 mixerMessage = "_mixerMessage@16" @110 125 mixerOpen = "_mixerOpen@20" @111 126 mixerSetControlDetails = "_mixerSetControlDetails@12" @112 127 127 ; MMIO 128 mmioAdvance = _mmioAdvance@12@113129 mmioAscend = _mmioAscend@12@114130 mmioClose = _mmioClose@8@115131 mmioCreateChunk = _mmioCreateChunk@12@116132 mmioDescend = _mmioDescend@16@117133 mmioFlush = _mmioFlush@8@118134 mmioGetInfo = _mmioGetInfo@12@119128 mmioAdvance = "_mmioAdvance@12" @113 129 mmioAscend = "_mmioAscend@12" @114 130 mmioClose = "_mmioClose@8" @115 131 mmioCreateChunk = "_mmioCreateChunk@12" @116 132 mmioDescend = "_mmioDescend@16" @117 133 mmioFlush = "_mmioFlush@8" @118 134 mmioGetInfo = "_mmioGetInfo@12" @119 135 135 ; mmioInstallIOProc16 = _mmioInstallIOProc16@?? @120 136 mmioInstallIOProcA = _mmioInstallIOProcA@12@121137 mmioInstallIOProcW = _mmioInstallIOProcW@12@122138 mmioOpenA = _mmioOpenA@12@123139 mmioOpenW = _mmioOpenW@12@124140 mmioRead = _mmioRead@12@125141 mmioRenameA = _mmioRenameA@16@126142 mmioRenameW = _mmioRenameW@16@127143 mmioSeek = _mmioSeek@12@128144 mmioSendMessage = _mmioSendMessage@16@129145 mmioSetBuffer = _mmioSetBuffer@16@130146 mmioSetInfo = _mmioSetInfo@12@131147 mmioStringToFOURCCA = _mmioStringToFOURCCA@8@132148 mmioStringToFOURCCW = _mmioStringToFOURCCW@8@133149 mmioWrite = _mmioWrite@12@134150 151 mmsystemGetVersion = _mmsystemGetVersion@0@135152 sndPlaySoundA = _sndPlaySoundA@8@136153 sndPlaySoundW = _sndPlaySoundW@8@137154 timeBeginPeriod = _timeBeginPeriod@4@138155 timeEndPeriod = _timeEndPeriod@4@139156 timeGetDevCaps = _timeGetDevCaps@8@140157 timeGetSystemTime = _timeGetSystemTime@8@141158 timeGetTime = _timeGetTime@0@142159 timeKillEvent = _timeKillEvent@4@143160 timeSetEvent = _timeSetEvent@20@144136 mmioInstallIOProcA = "_mmioInstallIOProcA@12" @121 137 mmioInstallIOProcW = "_mmioInstallIOProcW@12" @122 138 mmioOpenA = "_mmioOpenA@12" @123 139 mmioOpenW = "_mmioOpenW@12" @124 140 mmioRead = "_mmioRead@12" @125 141 mmioRenameA = "_mmioRenameA@16" @126 142 mmioRenameW = "_mmioRenameW@16" @127 143 mmioSeek = "_mmioSeek@12" @128 144 mmioSendMessage = "_mmioSendMessage@16" @129 145 mmioSetBuffer = "_mmioSetBuffer@16" @130 146 mmioSetInfo = "_mmioSetInfo@12" @131 147 mmioStringToFOURCCA = "_mmioStringToFOURCCA@8" @132 148 mmioStringToFOURCCW = "_mmioStringToFOURCCW@8" @133 149 mmioWrite = "_mmioWrite@12" @134 150 151 mmsystemGetVersion = "_mmsystemGetVersion@0" @135 152 sndPlaySoundA = "_sndPlaySoundA@8" @136 153 sndPlaySoundW = "_sndPlaySoundW@8" @137 154 timeBeginPeriod = "_timeBeginPeriod@4" @138 155 timeEndPeriod = "_timeEndPeriod@4" @139 156 timeGetDevCaps = "_timeGetDevCaps@8" @140 157 timeGetSystemTime = "_timeGetSystemTime@8" @141 158 timeGetTime = "_timeGetTime@0" @142 159 timeKillEvent = "_timeKillEvent@4" @143 160 timeSetEvent = "_timeSetEvent@20" @144 161 161 ; WAVEIN 162 waveInAddBuffer = _waveInAddBuffer@12@145163 waveInClose = _waveInClose@4@146164 waveInGetDevCapsA = _waveInGetDevCapsA@12@147165 waveInGetDevCapsW = _waveInGetDevCapsW@12@148166 waveInGetErrorTextA = _waveInGetErrorTextA@12@149167 waveInGetErrorTextW = _waveInGetErrorTextW@12@150168 waveInGetID = _waveInGetID@8@151169 waveInGetNumDevs = _waveInGetNumDevs@0@152170 waveInGetPosition = _waveInGetPosition@12@153171 waveInMessage = _waveInMessage@16@154172 waveInOpen = _waveInOpen@24@155173 waveInPrepareHeader = _waveInPrepareHeader@12@156174 waveInReset = _waveInReset@4@157175 waveInStart = _waveInStart@4@158176 waveInStop = _waveInStop@4@159177 waveInUnprepareHeader = _waveInUnprepareHeader@12@160162 waveInAddBuffer = "_waveInAddBuffer@12" @145 163 waveInClose = "_waveInClose@4" @146 164 waveInGetDevCapsA = "_waveInGetDevCapsA@12" @147 165 waveInGetDevCapsW = "_waveInGetDevCapsW@12" @148 166 waveInGetErrorTextA = "_waveInGetErrorTextA@12" @149 167 waveInGetErrorTextW = "_waveInGetErrorTextW@12" @150 168 waveInGetID = "_waveInGetID@8" @151 169 waveInGetNumDevs = "_waveInGetNumDevs@0" @152 170 waveInGetPosition = "_waveInGetPosition@12" @153 171 waveInMessage = "_waveInMessage@16" @154 172 waveInOpen = "_waveInOpen@24" @155 173 waveInPrepareHeader = "_waveInPrepareHeader@12" @156 174 waveInReset = "_waveInReset@4" @157 175 waveInStart = "_waveInStart@4" @158 176 waveInStop = "_waveInStop@4" @159 177 waveInUnprepareHeader = "_waveInUnprepareHeader@12" @160 178 178 ; WAVEOUT 179 waveOutBreakLoop = _waveOutBreakLoop@4@161180 waveOutClose = _waveOutClose@4@162181 waveOutGetDevCapsA = _waveOutGetDevCapsA@12@163182 waveOutGetDevCapsW = _waveOutGetDevCapsW@12@164183 waveOutGetErrorTextA = _waveOutGetErrorTextA@12@165184 waveOutGetErrorTextW = _waveOutGetErrorTextW@12@166185 waveOutGetID = _waveOutGetID@8@167186 waveOutGetNumDevs = _waveOutGetNumDevs@0@168187 waveOutGetPitch = _waveOutGetPitch@8@169188 waveOutGetPlaybackRate = _waveOutGetPlaybackRate@8@170189 waveOutGetPosition = _waveOutGetPosition@12@171190 waveOutGetVolume = _waveOutGetVolume@8@172191 waveOutMessage = _waveOutMessage@16@173192 waveOutOpen = _waveOutOpen@24@174193 waveOutPause = _waveOutPause@4@175194 waveOutPrepareHeader = _waveOutPrepareHeader@12@176195 waveOutReset = _waveOutReset@4@177196 waveOutRestart = _waveOutRestart@4@178197 waveOutSetPitch = _waveOutSetPitch@8@179198 waveOutSetPlaybackRate = _waveOutSetPlaybackRate@8@180199 waveOutSetVolume = _waveOutSetVolume@8@181200 waveOutUnprepareHeader = _waveOutUnprepareHeader@12@182201 waveOutWrite = _waveOutWrite@12@183179 waveOutBreakLoop = "_waveOutBreakLoop@4" @161 180 waveOutClose = "_waveOutClose@4" @162 181 waveOutGetDevCapsA = "_waveOutGetDevCapsA@12" @163 182 waveOutGetDevCapsW = "_waveOutGetDevCapsW@12" @164 183 waveOutGetErrorTextA = "_waveOutGetErrorTextA@12" @165 184 waveOutGetErrorTextW = "_waveOutGetErrorTextW@12" @166 185 waveOutGetID = "_waveOutGetID@8" @167 186 waveOutGetNumDevs = "_waveOutGetNumDevs@0" @168 187 waveOutGetPitch = "_waveOutGetPitch@8" @169 188 waveOutGetPlaybackRate = "_waveOutGetPlaybackRate@8" @170 189 waveOutGetPosition = "_waveOutGetPosition@12" @171 190 waveOutGetVolume = "_waveOutGetVolume@8" @172 191 waveOutMessage = "_waveOutMessage@16" @173 192 waveOutOpen = "_waveOutOpen@24" @174 193 waveOutPause = "_waveOutPause@4" @175 194 waveOutPrepareHeader = "_waveOutPrepareHeader@12" @176 195 waveOutReset = "_waveOutReset@4" @177 196 waveOutRestart = "_waveOutRestart@4" @178 197 waveOutSetPitch = "_waveOutSetPitch@8" @179 198 waveOutSetPlaybackRate = "_waveOutSetPlaybackRate@8" @180 199 waveOutSetVolume = "_waveOutSetVolume@8" @181 200 waveOutUnprepareHeader = "_waveOutUnprepareHeader@12" @182 201 waveOutWrite = "_waveOutWrite@12" @183 202 202 ; winmmf_ThunkData32 = _winmmf_ThunkData32@?? @184 203 203 ; winmmsl_ThunkData32 = _winmmsl_ThunkData32@?? @185 204 204 ; ODIN-specific 205 ODIN_IsFlashAudioEnabled = _ODIN_IsFlashAudioEnabled@0@186206 ODIN_EnableFlashAudio = _ODIN_EnableFlashAudio@4@187207 205 ODIN_IsFlashAudioEnabled = "_ODIN_IsFlashAudioEnabled@0" @186 206 ODIN_EnableFlashAudio = "_ODIN_EnableFlashAudio@4" @187 207 -
branches/gcc-kmk/src/winmm/winmm.h
r3303 r21841 9 9 #define __WINMM_H__ 10 10 11 c har * getWinmmMsg( MMRESULT result );11 const char * getWinmmMsg( MMRESULT result ); 12 12 13 13 typedef struct { -
branches/gcc-kmk/src/winmm/winmmdbg.def
r21692 r21841 9 9 10 10 ; DRIVER 11 PlaySoundA = _DbgPlaySoundA@12@212 CloseDriver = _DbgCloseDriver@12@513 DefDriverProc = _DbgDefDriverProc@20@614 DriverCallback = _DbgDriverCallback@28@715 DrvClose = _DbgCloseDriver@12@816 DrvDefDriverProc = _DbgDefDriverProc@20@917 DrvGetModuleHandle = _DbgGetDriverModuleHandle@4@1018 DrvOpen = _DbgOpenDriverA@12@1119 DrvOpenA = _DbgOpenDriverA@12@1220 DrvSendMessage = _DbgSendDriverMessage@16@1321 GetDriverFlags = _DbgGetDriverFlags@4@1422 GetDriverModuleHandle = _DbgGetDriverModuleHandle@4@1523 OpenDriver = _DbgOpenDriverA@12@1624 OpenDriverA = _DbgOpenDriverA@12@1725 PlaySound = _DbgPlaySoundA@12@1826 PlaySoundW = _DbgPlaySoundW@12@1927 SendDriverMessage = _DbgSendDriverMessage@16@2011 PlaySoundA = "_DbgPlaySoundA@12" @2 12 CloseDriver = "_DbgCloseDriver@12" @5 13 DefDriverProc = "_DbgDefDriverProc@20" @6 14 DriverCallback = "_DbgDriverCallback@28" @7 15 DrvClose = "_DbgCloseDriver@12" @8 16 DrvDefDriverProc = "_DbgDefDriverProc@20" @9 17 DrvGetModuleHandle = "_DbgGetDriverModuleHandle@4" @10 18 DrvOpen = "_DbgOpenDriverA@12" @11 19 DrvOpenA = "_DbgOpenDriverA@12" @12 20 DrvSendMessage = "_DbgSendDriverMessage@16" @13 21 GetDriverFlags = "_DbgGetDriverFlags@4" @14 22 GetDriverModuleHandle = "_DbgGetDriverModuleHandle@4" @15 23 OpenDriver = "_DbgOpenDriverA@12" @16 24 OpenDriverA = "_DbgOpenDriverA@12" @17 25 PlaySound = "_DbgPlaySoundA@12" @18 26 PlaySoundW = "_DbgPlaySoundW@12" @19 27 SendDriverMessage = "_DbgSendDriverMessage@16" @20 28 28 29 29 ; AUX 30 auxGetDevCapsA = _DbgauxGetDevCapsA@12@2131 auxGetDevCapsW = _DbgauxGetDevCapsW@12@2232 auxGetNumDevs = _DbgauxGetNumDevs@0@2333 auxGetVolume = _DbgauxGetVolume@8@2434 auxOutMessage = _DbgauxOutMessage@16@2535 auxSetVolume = _DbgauxSetVolume@8@2630 auxGetDevCapsA = "_DbgauxGetDevCapsA@12" @21 31 auxGetDevCapsW = "_DbgauxGetDevCapsW@12" @22 32 auxGetNumDevs = "_DbgauxGetNumDevs@0" @23 33 auxGetVolume = "_DbgauxGetVolume@8" @24 34 auxOutMessage = "_DbgauxOutMessage@16" @25 35 auxSetVolume = "_DbgauxSetVolume@8" @26 36 36 ; JOY 37 joyConfigChanged = _DbgjoyConfigChanged@4@2738 joyGetDevCapsA = _DbgjoyGetDevCapsA@12@2839 joyGetDevCapsW = _DbgjoyGetDevCapsW@12@2940 joyGetNumDevs = _DbgjoyGetNumDevs@0@3041 joyGetPos = _DbgjoyGetPos@8@3142 joyGetPosEx = _DbgjoyGetPosEx@8@3243 joyGetThreshold = _DbgjoyGetThreshold@8@3344 joyReleaseCapture = _DbgjoyReleaseCapture@4@3445 joySetCapture = _DbgjoySetCapture@16@3546 joySetThreshold = _DbgjoySetThreshold@8@3637 joyConfigChanged = "_DbgjoyConfigChanged@4" @27 38 joyGetDevCapsA = "_DbgjoyGetDevCapsA@12" @28 39 joyGetDevCapsW = "_DbgjoyGetDevCapsW@12" @29 40 joyGetNumDevs = "_DbgjoyGetNumDevs@0" @30 41 joyGetPos = "_DbgjoyGetPos@8" @31 42 joyGetPosEx = "_DbgjoyGetPosEx@8" @32 43 joyGetThreshold = "_DbgjoyGetThreshold@8" @33 44 joyReleaseCapture = "_DbgjoyReleaseCapture@4" @34 45 joySetCapture = "_DbgjoySetCapture@16" @35 46 joySetThreshold = "_DbgjoySetThreshold@8" @36 47 47 ; MCI 48 mciDriverNotify = _DbgmciDriverNotify@12@3749 mciDriverYield = _DbgmciDriverYield@4@3850 mciExecute = _DbgmciExecute@4@3951 mciFreeCommandResource = _DbgmciFreeCommandResource@4@4052 mciGetCreatorTask = _DbgmciGetCreatorTask@4@4153 mciGetDeviceIDA = _DbgmciGetDeviceIDA@4@4254 mciGetDeviceIDFromElementIDW = _DbgmciGetDeviceIDFromElementIDW@8@4355 mciGetDeviceIDW = _DbgmciGetDeviceIDW@4@4456 mciGetDriverData = _DbgmciGetDriverData@4@4557 mciGetErrorStringA = _DbgmciGetErrorStringA@12@4658 mciGetErrorStringW = _DbgmciGetErrorStringW@12@4759 mciGetYieldProc = _DbgmciGetYieldProc@8@4860 mciLoadCommandResource = _DbgmciLoadCommandResource@12@4961 mciSendCommandA = _DbgmciSendCommandA@16@5062 mciSendCommandW = _DbgmciSendCommandW@16@5163 mciSendStringA = _DbgmciSendStringA@16@5264 mciSendStringW = _DbgmciSendStringW@16@5365 mciSetDriverData = _DbgmciSetDriverData@8@5466 mciSetYieldProc = _DbgmciSetYieldProc@12@5548 mciDriverNotify = "_DbgmciDriverNotify@12" @37 49 mciDriverYield = "_DbgmciDriverYield@4" @38 50 mciExecute = "_DbgmciExecute@4" @39 51 mciFreeCommandResource = "_DbgmciFreeCommandResource@4" @40 52 mciGetCreatorTask = "_DbgmciGetCreatorTask@4" @41 53 mciGetDeviceIDA = "_DbgmciGetDeviceIDA@4" @42 54 mciGetDeviceIDFromElementIDW = "_DbgmciGetDeviceIDFromElementIDW@8" @43 55 mciGetDeviceIDW = "_DbgmciGetDeviceIDW@4" @44 56 mciGetDriverData = "_DbgmciGetDriverData@4" @45 57 mciGetErrorStringA = "_DbgmciGetErrorStringA@12" @46 58 mciGetErrorStringW = "_DbgmciGetErrorStringW@12" @47 59 mciGetYieldProc = "_DbgmciGetYieldProc@8" @48 60 mciLoadCommandResource = "_DbgmciLoadCommandResource@12" @49 61 mciSendCommandA = "_DbgmciSendCommandA@16" @50 62 mciSendCommandW = "_DbgmciSendCommandW@16" @51 63 mciSendStringA = "_DbgmciSendStringA@16" @52 64 mciSendStringW = "_DbgmciSendStringW@16" @53 65 mciSetDriverData = "_DbgmciSetDriverData@8" @54 66 mciSetYieldProc = "_DbgmciSetYieldProc@12" @55 67 67 ; 68 68 ; MIDI 69 midiConnect = _DbgmidiConnect@12@5670 midiDisconnect = _DbgmidiDisconnect@12@5771 midiInAddBuffer = _DbgmidiInAddBuffer@12@5872 midiInClose = _DbgmidiInClose@4@5973 midiInGetDevCapsA = _DbgmidiInGetDevCapsA@12@6074 midiInGetDevCapsW = _DbgmidiInGetDevCapsW@12@6175 midiInGetErrorTextA = _DbgmidiInGetErrorTextA@12@6276 midiInGetErrorTextW = _DbgmidiInGetErrorTextW@12@6377 midiInGetID = _DbgmidiInGetID@8@6478 midiInGetNumDevs = _DbgmidiInGetNumDevs@0@6579 midiInMessage = _DbgmidiInMessage@16@6680 midiInOpen = _DbgmidiInOpen@20@6781 midiInPrepareHeader = _DbgmidiInPrepareHeader@12@6882 midiInReset = _DbgmidiInReset@4@6983 midiInStart = _DbgmidiInStart@4@7084 midiInStop = _DbgmidiInStop@4@7185 midiInUnprepareHeader = _DbgmidiInUnprepareHeader@12@7286 midiOutCacheDrumPatches = _DbgmidiOutCacheDrumPatches@16@7387 midiOutCachePatches = _DbgmidiOutCachePatches@16@7488 midiOutClose = _DbgmidiOutClose@4@7589 midiOutGetDevCapsA = _DbgmidiOutGetDevCapsA@12@7690 midiOutGetDevCapsW = _DbgmidiOutGetDevCapsW@12@7791 midiOutGetErrorTextA = _DbgmidiOutGetErrorTextA@12@7892 midiOutGetErrorTextW = _DbgmidiOutGetErrorTextW@12@7993 midiOutGetID = _DbgmidiOutGetID@8@8094 midiOutGetNumDevs = _DbgmidiOutGetNumDevs@0@8195 midiOutGetVolume = _DbgmidiOutGetVolume@8@8296 midiOutLongMsg = _DbgmidiOutLongMsg@12@8397 midiOutMessage = _DbgmidiOutMessage@16@8498 midiOutOpen = _DbgmidiOutOpen@20@8599 midiOutPrepareHeader = _DbgmidiOutPrepareHeader@12@86100 midiOutReset = _DbgmidiOutReset@4@87101 midiOutSetVolume = _DbgmidiOutSetVolume@8@88102 midiOutShortMsg = _DbgmidiOutShortMsg@8@89103 midiOutUnprepareHeader = _DbgmidiOutUnprepareHeader@12@90104 midiStreamClose = _DbgmidiStreamClose@4@91105 midiStreamOpen = _DbgmidiStreamOpen@24@92106 midiStreamOut = _DbgmidiStreamOut@12@93107 midiStreamPause = _DbgmidiStreamPause@4@94108 midiStreamPosition = _DbgmidiStreamPosition@12@95109 midiStreamProperty = _DbgmidiStreamProperty@12@96110 midiStreamRestart = _DbgmidiStreamRestart@4@97111 midiStreamStop = _DbgmidiStreamStop@4@9869 midiConnect = "_DbgmidiConnect@12" @56 70 midiDisconnect = "_DbgmidiDisconnect@12" @57 71 midiInAddBuffer = "_DbgmidiInAddBuffer@12" @58 72 midiInClose = "_DbgmidiInClose@4" @59 73 midiInGetDevCapsA = "_DbgmidiInGetDevCapsA@12" @60 74 midiInGetDevCapsW = "_DbgmidiInGetDevCapsW@12" @61 75 midiInGetErrorTextA = "_DbgmidiInGetErrorTextA@12" @62 76 midiInGetErrorTextW = "_DbgmidiInGetErrorTextW@12" @63 77 midiInGetID = "_DbgmidiInGetID@8" @64 78 midiInGetNumDevs = "_DbgmidiInGetNumDevs@0" @65 79 midiInMessage = "_DbgmidiInMessage@16" @66 80 midiInOpen = "_DbgmidiInOpen@20" @67 81 midiInPrepareHeader = "_DbgmidiInPrepareHeader@12" @68 82 midiInReset = "_DbgmidiInReset@4" @69 83 midiInStart = "_DbgmidiInStart@4" @70 84 midiInStop = "_DbgmidiInStop@4" @71 85 midiInUnprepareHeader = "_DbgmidiInUnprepareHeader@12" @72 86 midiOutCacheDrumPatches = "_DbgmidiOutCacheDrumPatches@16" @73 87 midiOutCachePatches = "_DbgmidiOutCachePatches@16" @74 88 midiOutClose = "_DbgmidiOutClose@4" @75 89 midiOutGetDevCapsA = "_DbgmidiOutGetDevCapsA@12" @76 90 midiOutGetDevCapsW = "_DbgmidiOutGetDevCapsW@12" @77 91 midiOutGetErrorTextA = "_DbgmidiOutGetErrorTextA@12" @78 92 midiOutGetErrorTextW = "_DbgmidiOutGetErrorTextW@12" @79 93 midiOutGetID = "_DbgmidiOutGetID@8" @80 94 midiOutGetNumDevs = "_DbgmidiOutGetNumDevs@0" @81 95 midiOutGetVolume = "_DbgmidiOutGetVolume@8" @82 96 midiOutLongMsg = "_DbgmidiOutLongMsg@12" @83 97 midiOutMessage = "_DbgmidiOutMessage@16" @84 98 midiOutOpen = "_DbgmidiOutOpen@20" @85 99 midiOutPrepareHeader = "_DbgmidiOutPrepareHeader@12" @86 100 midiOutReset = "_DbgmidiOutReset@4" @87 101 midiOutSetVolume = "_DbgmidiOutSetVolume@8" @88 102 midiOutShortMsg = "_DbgmidiOutShortMsg@8" @89 103 midiOutUnprepareHeader = "_DbgmidiOutUnprepareHeader@12" @90 104 midiStreamClose = "_DbgmidiStreamClose@4" @91 105 midiStreamOpen = "_DbgmidiStreamOpen@24" @92 106 midiStreamOut = "_DbgmidiStreamOut@12" @93 107 midiStreamPause = "_DbgmidiStreamPause@4" @94 108 midiStreamPosition = "_DbgmidiStreamPosition@12" @95 109 midiStreamProperty = "_DbgmidiStreamProperty@12" @96 110 midiStreamRestart = "_DbgmidiStreamRestart@4" @97 111 midiStreamStop = "_DbgmidiStreamStop@4" @98 112 112 ; MIXER 113 mixerClose = _DbgmixerClose@4@99114 mixerGetControlDetailsA = _DbgmixerGetControlDetailsA@12@100115 mixerGetControlDetailsW = _DbgmixerGetControlDetailsW@12@101116 mixerGetDevCapsA = _DbgmixerGetDevCapsA@12@102117 mixerGetDevCapsW = _DbgmixerGetDevCapsW@12@103118 mixerGetID = _DbgmixerGetID@12@104119 mixerGetLineControlsA = _DbgmixerGetLineControlsA@12@105120 mixerGetLineControlsW = _DbgmixerGetLineControlsW@12@106121 mixerGetLineInfoA = _DbgmixerGetLineInfoA@12@107122 mixerGetLineInfoW = _DbgmixerGetLineInfoW@12@108123 mixerGetNumDevs = _DbgmixerGetNumDevs@0@109124 mixerMessage = _DbgmixerMessage@16@110125 mixerOpen = _DbgmixerOpen@20@111126 mixerSetControlDetails = _DbgmixerSetControlDetails@12@112113 mixerClose = "_DbgmixerClose@4" @99 114 mixerGetControlDetailsA = "_DbgmixerGetControlDetailsA@12" @100 115 mixerGetControlDetailsW = "_DbgmixerGetControlDetailsW@12" @101 116 mixerGetDevCapsA = "_DbgmixerGetDevCapsA@12" @102 117 mixerGetDevCapsW = "_DbgmixerGetDevCapsW@12" @103 118 mixerGetID = "_DbgmixerGetID@12" @104 119 mixerGetLineControlsA = "_DbgmixerGetLineControlsA@12" @105 120 mixerGetLineControlsW = "_DbgmixerGetLineControlsW@12" @106 121 mixerGetLineInfoA = "_DbgmixerGetLineInfoA@12" @107 122 mixerGetLineInfoW = "_DbgmixerGetLineInfoW@12" @108 123 mixerGetNumDevs = "_DbgmixerGetNumDevs@0" @109 124 mixerMessage = "_DbgmixerMessage@16" @110 125 mixerOpen = "_DbgmixerOpen@20" @111 126 mixerSetControlDetails = "_DbgmixerSetControlDetails@12" @112 127 127 ; MMIO 128 mmioAdvance = _DbgmmioAdvance@12@113129 mmioAscend = _DbgmmioAscend@12@114130 mmioClose = _DbgmmioClose@8@115131 mmioCreateChunk = _DbgmmioCreateChunk@12@116132 mmioDescend = _DbgmmioDescend@16@117133 mmioFlush = _DbgmmioFlush@8@118134 mmioGetInfo = _DbgmmioGetInfo@12@119128 mmioAdvance = "_DbgmmioAdvance@12" @113 129 mmioAscend = "_DbgmmioAscend@12" @114 130 mmioClose = "_DbgmmioClose@8" @115 131 mmioCreateChunk = "_DbgmmioCreateChunk@12" @116 132 mmioDescend = "_DbgmmioDescend@16" @117 133 mmioFlush = "_DbgmmioFlush@8" @118 134 mmioGetInfo = "_DbgmmioGetInfo@12" @119 135 135 ; mmioInstallIOProc16 = _DbgmmioInstallIOProc16@?? @120 136 mmioInstallIOProcA = _DbgmmioInstallIOProcA@12@121137 mmioInstallIOProcW = _DbgmmioInstallIOProcW@12@122138 mmioOpenA = _DbgmmioOpenA@12@123139 mmioOpenW = _DbgmmioOpenW@12@124140 mmioRead = _DbgmmioRead@12@125141 mmioRenameA = _DbgmmioRenameA@16@126142 mmioRenameW = _DbgmmioRenameW@16@127143 mmioSeek = _DbgmmioSeek@12@128144 mmioSendMessage = _DbgmmioSendMessage@16@129145 mmioSetBuffer = _DbgmmioSetBuffer@16@130146 mmioSetInfo = _DbgmmioSetInfo@12@131147 mmioStringToFOURCCA = _DbgmmioStringToFOURCCA@8@132148 mmioStringToFOURCCW = _DbgmmioStringToFOURCCW@8@133149 mmioWrite = _DbgmmioWrite@12@134150 151 mmsystemGetVersion = _DbgmmsystemGetVersion@0@135152 sndPlaySoundA = _DbgsndPlaySoundA@8@136153 sndPlaySoundW = _DbgsndPlaySoundW@8@137154 timeBeginPeriod = _DbgtimeBeginPeriod@4@138155 timeEndPeriod = _DbgtimeEndPeriod@4@139156 timeGetDevCaps = _DbgtimeGetDevCaps@8@140157 timeGetSystemTime = _DbgtimeGetSystemTime@8@141158 timeGetTime = _DbgtimeGetTime@0@142159 timeKillEvent = _DbgtimeKillEvent@4@143160 timeSetEvent = _DbgtimeSetEvent@20@144136 mmioInstallIOProcA = "_DbgmmioInstallIOProcA@12" @121 137 mmioInstallIOProcW = "_DbgmmioInstallIOProcW@12" @122 138 mmioOpenA = "_DbgmmioOpenA@12" @123 139 mmioOpenW = "_DbgmmioOpenW@12" @124 140 mmioRead = "_DbgmmioRead@12" @125 141 mmioRenameA = "_DbgmmioRenameA@16" @126 142 mmioRenameW = "_DbgmmioRenameW@16" @127 143 mmioSeek = "_DbgmmioSeek@12" @128 144 mmioSendMessage = "_DbgmmioSendMessage@16" @129 145 mmioSetBuffer = "_DbgmmioSetBuffer@16" @130 146 mmioSetInfo = "_DbgmmioSetInfo@12" @131 147 mmioStringToFOURCCA = "_DbgmmioStringToFOURCCA@8" @132 148 mmioStringToFOURCCW = "_DbgmmioStringToFOURCCW@8" @133 149 mmioWrite = "_DbgmmioWrite@12" @134 150 151 mmsystemGetVersion = "_DbgmmsystemGetVersion@0" @135 152 sndPlaySoundA = "_DbgsndPlaySoundA@8" @136 153 sndPlaySoundW = "_DbgsndPlaySoundW@8" @137 154 timeBeginPeriod = "_DbgtimeBeginPeriod@4" @138 155 timeEndPeriod = "_DbgtimeEndPeriod@4" @139 156 timeGetDevCaps = "_DbgtimeGetDevCaps@8" @140 157 timeGetSystemTime = "_DbgtimeGetSystemTime@8" @141 158 timeGetTime = "_DbgtimeGetTime@0" @142 159 timeKillEvent = "_DbgtimeKillEvent@4" @143 160 timeSetEvent = "_DbgtimeSetEvent@20" @144 161 161 ; WAVEIN 162 waveInAddBuffer = _DbgwaveInAddBuffer@12@145163 waveInClose = _DbgwaveInClose@4@146164 waveInGetDevCapsA = _DbgwaveInGetDevCapsA@12@147165 waveInGetDevCapsW = _DbgwaveInGetDevCapsW@12@148166 waveInGetErrorTextA = _DbgwaveInGetErrorTextA@12@149167 waveInGetErrorTextW = _DbgwaveInGetErrorTextW@12@150168 waveInGetID = _DbgwaveInGetID@8@151169 waveInGetNumDevs = _DbgwaveInGetNumDevs@0@152170 waveInGetPosition = _DbgwaveInGetPosition@12@153171 waveInMessage = _DbgwaveInMessage@16@154172 waveInOpen = _DbgwaveInOpen@24@155173 waveInPrepareHeader = _DbgwaveInPrepareHeader@12@156174 waveInReset = _DbgwaveInReset@4@157175 waveInStart = _DbgwaveInStart@4@158176 waveInStop = _DbgwaveInStop@4@159177 waveInUnprepareHeader = _DbgwaveInUnprepareHeader@12@160162 waveInAddBuffer = "_DbgwaveInAddBuffer@12" @145 163 waveInClose = "_DbgwaveInClose@4" @146 164 waveInGetDevCapsA = "_DbgwaveInGetDevCapsA@12" @147 165 waveInGetDevCapsW = "_DbgwaveInGetDevCapsW@12" @148 166 waveInGetErrorTextA = "_DbgwaveInGetErrorTextA@12" @149 167 waveInGetErrorTextW = "_DbgwaveInGetErrorTextW@12" @150 168 waveInGetID = "_DbgwaveInGetID@8" @151 169 waveInGetNumDevs = "_DbgwaveInGetNumDevs@0" @152 170 waveInGetPosition = "_DbgwaveInGetPosition@12" @153 171 waveInMessage = "_DbgwaveInMessage@16" @154 172 waveInOpen = "_DbgwaveInOpen@24" @155 173 waveInPrepareHeader = "_DbgwaveInPrepareHeader@12" @156 174 waveInReset = "_DbgwaveInReset@4" @157 175 waveInStart = "_DbgwaveInStart@4" @158 176 waveInStop = "_DbgwaveInStop@4" @159 177 waveInUnprepareHeader = "_DbgwaveInUnprepareHeader@12" @160 178 178 ; WAVEOUT 179 waveOutBreakLoop = _DbgwaveOutBreakLoop@4@161180 waveOutClose = _DbgwaveOutClose@4@162181 waveOutGetDevCapsA = _DbgwaveOutGetDevCapsA@12@163182 waveOutGetDevCapsW = _DbgwaveOutGetDevCapsW@12@164183 waveOutGetErrorTextA = _DbgwaveOutGetErrorTextA@12@165184 waveOutGetErrorTextW = _DbgwaveOutGetErrorTextW@12@166185 waveOutGetID = _DbgwaveOutGetID@8@167186 waveOutGetNumDevs = _DbgwaveOutGetNumDevs@0@168187 waveOutGetPitch = _DbgwaveOutGetPitch@8@169188 waveOutGetPlaybackRate = _DbgwaveOutGetPlaybackRate@8@170189 waveOutGetPosition = _DbgwaveOutGetPosition@12@171190 waveOutGetVolume = _DbgwaveOutGetVolume@8@172191 waveOutMessage = _DbgwaveOutMessage@16@173192 waveOutOpen = _DbgwaveOutOpen@24@174193 waveOutPause = _DbgwaveOutPause@4@175194 waveOutPrepareHeader = _DbgwaveOutPrepareHeader@12@176195 waveOutReset = _DbgwaveOutReset@4@177196 waveOutRestart = _DbgwaveOutRestart@4@178197 waveOutSetPitch = _DbgwaveOutSetPitch@8@179198 waveOutSetPlaybackRate = _DbgwaveOutSetPlaybackRate@8@180199 waveOutSetVolume = _DbgwaveOutSetVolume@8@181200 waveOutUnprepareHeader = _DbgwaveOutUnprepareHeader@12@182201 waveOutWrite = _DbgwaveOutWrite@12@183179 waveOutBreakLoop = "_DbgwaveOutBreakLoop@4" @161 180 waveOutClose = "_DbgwaveOutClose@4" @162 181 waveOutGetDevCapsA = "_DbgwaveOutGetDevCapsA@12" @163 182 waveOutGetDevCapsW = "_DbgwaveOutGetDevCapsW@12" @164 183 waveOutGetErrorTextA = "_DbgwaveOutGetErrorTextA@12" @165 184 waveOutGetErrorTextW = "_DbgwaveOutGetErrorTextW@12" @166 185 waveOutGetID = "_DbgwaveOutGetID@8" @167 186 waveOutGetNumDevs = "_DbgwaveOutGetNumDevs@0" @168 187 waveOutGetPitch = "_DbgwaveOutGetPitch@8" @169 188 waveOutGetPlaybackRate = "_DbgwaveOutGetPlaybackRate@8" @170 189 waveOutGetPosition = "_DbgwaveOutGetPosition@12" @171 190 waveOutGetVolume = "_DbgwaveOutGetVolume@8" @172 191 waveOutMessage = "_DbgwaveOutMessage@16" @173 192 waveOutOpen = "_DbgwaveOutOpen@24" @174 193 waveOutPause = "_DbgwaveOutPause@4" @175 194 waveOutPrepareHeader = "_DbgwaveOutPrepareHeader@12" @176 195 waveOutReset = "_DbgwaveOutReset@4" @177 196 waveOutRestart = "_DbgwaveOutRestart@4" @178 197 waveOutSetPitch = "_DbgwaveOutSetPitch@8" @179 198 waveOutSetPlaybackRate = "_DbgwaveOutSetPlaybackRate@8" @180 199 waveOutSetVolume = "_DbgwaveOutSetVolume@8" @181 200 waveOutUnprepareHeader = "_DbgwaveOutUnprepareHeader@12" @182 201 waveOutWrite = "_DbgwaveOutWrite@12" @183 202 202 ; winmmf_ThunkData32 = _Dbgwinmmf_ThunkData32@?? @184 203 203 ; winmmsl_ThunkData32 = _Dbgwinmmsl_ThunkData32@?? @185 204 204 ; ODIN-specific 205 ODIN_IsFlashAudioEnabled = _DbgODIN_IsFlashAudioEnabled@0@186206 ODIN_EnableFlashAudio = _DbgODIN_EnableFlashAudio@4@187207 205 ODIN_IsFlashAudioEnabled = "_DbgODIN_IsFlashAudioEnabled@0" @186 206 ODIN_EnableFlashAudio = "_DbgODIN_EnableFlashAudio@4" @187 207
Note:
See TracChangeset
for help on using the changeset viewer.