Ignore:
Timestamp:
Nov 9, 2009, 2:36:35 AM (16 years ago)
Author:
pasha
Message:

Fix buffers overflow problem, check Flash10, fix some strange code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OCO/trunk/drv16/ssm_idc.cpp

    r468 r473  
    9898           }
    9999#endif
     100//           ddprintf(("DDCMD_WRITE beg"));
    100101           ulReturnCode = pstream->Write((PSTREAMBUF) p->pBuffer,(unsigned) p->ulBufferSize);
    101102//           ddprintf(("DDCMD_WRITE %lx rc=%ld",p->ulBufferSize, ulReturnCode));
     
    132133         case DDCMD_STOP:
    133134             ddprintf(("DDCMD_STOP"));
    134              DevHelp_ProcBlock ((ULONG)p, 2, 0);
     135//             DevHelp_ProcBlock ((ULONG)p, 2, 0);
    135136             p->ulParmSize=sizeof(ULONG);
    136137             return pstream->StopStream((PCONTROL_PARM)p->pParm);
     
    146147             return pstream->EnableEvent(p);
    147148         case DDCMD_DISABLE_EVENT:
    148 //             ddprintf(("DDCMD_DISABLE_EVENT"));
     149             ddprintf(("DDCMD_DISABLE_EVENT"));
    149150             return pstream->DisableEvent(p);
    150151         case DDCMD_PAUSE_TIME:
    151 //             ddprintf(("DDCMD_PAUSE_TIME"));
     152             ddprintf(("DDCMD_PAUSE_TIME"));
    152153             return pstream->PauseStreamTime();
    153154         case DDCMD_RESUME_TIME:
Note: See TracChangeset for help on using the changeset viewer.