Changeset 169


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

Minor code cleanup

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/c/c_image/cwimage.c

    r141 r169  
    12581258    NOT_IMPLEMENTED
    12591259
    1260     return (MMImage_parent_WPImageFile_wpQueryBitmapData(somSelf,
    1261                                                          pulSize));
     1260    return (MMImage_parent_WPImageFile_wpQueryBitmapData(somSelf, pulSize));
    12621261}
    12631262
     
    14981497    for ( index = 0; index <lNumIOProcs; index++ )
    14991498      {
    1500         mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L);
    1501 
     1499        ulReturnCode = mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L);
     1500        if(ulReturnCode)
     1501          {
     1502          SysWriteToTrapLog("IO-Proc 2: %s %u\n\n", szBuffer, ulReturnCode);
     1503          continue;
     1504          }       
    15021505        /* Insert NULL string terminator */
    15031506        *( szBuffer + lBytesRead ) = (CHAR)NULL;
     
    16361639        strcat(chrPtr,"\" \"");
    16371640        chrPtr=strrchr(chrPtr, 0);
    1638         mmioGetFormatName(&g_pmmFormatInfoArray[ulMenuId-ID_ITEM_FIRSTCONVERT], chrPtr,(LONG*) &ulSize, 0L, 0L);
     1641        ulRc = mmioGetFormatName(&g_pmmFormatInfoArray[ulMenuId-ID_ITEM_FIRSTCONVERT], chrPtr,(LONG*) &ulSize, 0L, 0L);
     1642        if(ulRc)
     1643          {
     1644          SysWriteToTrapLog("cwimg_wpMenuItemSelected: %s %u\n\n", chrPtr, ulRc);
     1645          }
    16391646        *( chrPtr + ulSize ) = (CHAR)NULL;
    16401647        strcat(chrPtr,"\"");
     
    23102317    for ( index = 0; index <lNumIOProcs; index++ )
    23112318      {
    2312         mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L);
    2313 
     2319        ulReturnCode = mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L);
     2320        if(ulReturnCode)
     2321          {
     2322          SysWriteToTrapLog("checkImageIOProc: %s %u\n\n", szBuffer, ulReturnCode);
     2323          continue;
     2324          }
     2325        SysWriteToTrapLog("IO-Proc 2: %s %u\n\n", szBuffer, lBytesRead);
    23142326        /* Insert NULL string terminator */
    23152327        *( szBuffer + lBytesRead ) = (CHAR)NULL;
  • trunk/stream_ioproc/source/streamproc.c

    r4 r169  
    191191    pmmioinfo = (PMMIOINFO) pmmioStr;
    192192
    193 DosBeep(5000, 30);
     193//DosBeep(5000, 30);
    194194#ifdef DEBUG
    195195    writeLog("MSG: %d %x\n", usMsg,usMsg);
Note: See TracChangeset for help on using the changeset viewer.