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

    r10173 r21841  
    3838*/
    3939
    40 char * getWinmmMsg( MMRESULT result )
    41 {
    42   char * ret;
     40const char * getWinmmMsg( MMRESULT result )
     41{
     42  const char * ret;
    4343  switch ( result )
    4444  {
     
    243243{
    244244  dprintf(("WINMM:midiInGetErrorTextA(%d)\n", wError ));
    245   char * theMsg = getWinmmMsg( wError );
     245  const char * theMsg = getWinmmMsg( wError );
    246246  if ( theMsg )
    247247    strncpy( lpText, theMsg, cchText );
     
    260260{
    261261  dprintf(("WINMM:midiInGetErrorTextW(%d)\n", wError ));
    262   char * theMsg = getWinmmMsg( wError );
     262  const char * theMsg = getWinmmMsg( wError );
    263263  if ( theMsg )
    264264    AsciiToUnicodeN( theMsg, lpText, cchText );
     
    563563{
    564564  dprintf(("WINMM:midiOutGetErrorTextA(%d)\n", wError ));
    565   char * theMsg = getWinmmMsg( wError );
     565  const char * theMsg = getWinmmMsg( wError );
    566566  if ( theMsg )
    567567    strncpy( lpText, theMsg, cchText );
     
    579579{
    580580  dprintf(("WINMM:midiOutGetErrorTextW(%d) - need to translate\n", wError ));
    581   char * theMsg = getWinmmMsg( wError );
     581  const char * theMsg = getWinmmMsg( wError );
    582582  if ( theMsg )
    583583    AsciiToUnicodeN( theMsg, lpText, cchText );
Note: See TracChangeset for help on using the changeset viewer.