Ignore:
Timestamp:
Dec 1, 2011, 10:19:11 PM (14 years ago)
Author:
dmik
Message:

Port WINMM, MCICDA and MCIWAVE DLLs to GCC/kBuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/winmm/waveout.cpp

    r21358 r21841  
    3131#include "misc.h"
    3232#include "winmm.h"
    33 #include "initwinmm.h"
     33#include "initterm.h"
    3434
    3535#define DBG_LOCALLOG    DBG_waveout
     
    315315MMRESULT WINAPI waveOutGetErrorTextA(MMRESULT wError, LPSTR lpText, UINT cchText)
    316316{
    317     char * theMsg = getWinmmMsg( wError );
     317    const char * theMsg = getWinmmMsg( wError );
    318318    if(theMsg) {
    319319        strncpy( lpText, theMsg, cchText );
     
    331331MMRESULT WINAPI waveOutGetErrorTextW(MMRESULT wError, LPWSTR lpText, UINT cchText)
    332332{
    333     char * theMsg = getWinmmMsg( wError );
     333    const char * theMsg = getWinmmMsg( wError );
    334334    if(theMsg) {
    335335        AsciiToUnicodeN( theMsg, lpText, cchText );
Note: See TracChangeset for help on using the changeset viewer.