Ignore:
Timestamp:
Mar 27, 2024, 10:40:40 PM (17 months ago)
Author:
gyoung
Message:

Remove static from a function so symbols for it are generated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/c/c_audio/cwaudio.c

    r108 r171  
    24272427  This function inserts only write enabled IO procedures into the menu.
    24282428*/
    2429 static BOOL insertAudioIOProcMenuItems( HWND hwndMenu )
     2429BOOL insertAudioIOProcMenuItems( HWND hwndMenu )
    24302430{
    24312431    CHAR          szBuffer[ sizeof( FOURCC ) + CCHMAXPATH + 4 ];
     
    25272527    for ( index = 0; index <lNumIOProcs; index++ )
    25282528      {
    2529         mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L);
     2529        ulReturnCode = mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L);
     2530        if(ulReturnCode)
     2531          {
     2532          //SysWriteToTrapLog("IO-Proc 2: %s %u\n\n", szBuffer, ulReturnCode);
     2533          continue;
     2534          }
    25302535       
    25312536        /* Insert NULL string terminator */
     
    26302635        strcat(chrPtr,"\" \"");
    26312636        chrPtr=strrchr(chrPtr, 0);
    2632         mmioGetFormatName(&g_pmmFormatInfoArray[ulMenuId-ID_ITEM_FIRSTCONVERT], chrPtr,(LONG*) &ulSize, 0L, 0L);
    2633         *( chrPtr + ulSize ) = (CHAR)NULL;
     2637        if(mmioGetFormatName(&g_pmmFormatInfoArray[ulMenuId-ID_ITEM_FIRSTCONVERT], chrPtr,(LONG*) &ulSize, 0L, 0L))
     2638          SysWriteToTrapLog("cwaudio_wpMenuItemSelected: %s\n\n", chrPtr);
     2639        else
     2640          *( chrPtr + ulSize ) = (CHAR)NULL;
    26342641        strcat(chrPtr,"\"");
    26352642
     
    32203227    for ( index = 0; index <lNumIOProcs; index++ )
    32213228      {
    3222         mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L);
    3223        
     3229        if(mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L))
     3230        {
     3231          //SysWriteToTrapLog("checkForWriteEnabledAudioIOProc: %s\n\n", szBuffer);
     3232          continue;
     3233        }
     3234
    32243235        /* Insert NULL string terminator */
    32253236        *( szBuffer + lBytesRead ) = (CHAR)NULL;
Note: See TracChangeset for help on using the changeset viewer.