Lines Matching refs:rc
91 int rc;
101 rc = mciSendCommand( 0, MCI_OPEN,
104 if (rc!=MCIERR_SUCCESS) // No audio available??
159 rc = mciSendCommand (iDeviceOrd, MCI_MIXSETUP,
162 if (rc!=MCIERR_SUCCESS)
170 rc = mciSendCommand(iDeviceOrd, MCI_MIXSETUP,
173 if (rc!=MCIERR_SUCCESS)
197 rc = mciSendCommand(iDeviceOrd, MCI_BUFFER,
200 if ((rc!=MCIERR_SUCCESS) || (iNumBufs != _this->hidden->BufferParms.ulNumBuffers) || (_this->hidden->BufferParms.ulBufferSize==0))
344 APIRET rc;
347 rc = NO_ERROR;
348 while ((pBufDesc->iBufferUsage != BUFFER_EMPTY) && (rc==NO_ERROR))
351 rc = DosWaitEventSem(_this->hidden->hevAudioBufferPlayed, 1000); // 1 sec timeout! Important!
358 int rc;
361 rc = mciSendCommand(_this->hidden->iCurrDeviceOrd, MCI_STOP, MCI_WAIT, &GenericParms, 0);
362 if (rc!=MCIERR_SUCCESS)
380 rc = mciSendCommand(_this->hidden->iCurrDeviceOrd, MCI_BUFFER, MCI_WAIT | MCI_DEALLOCATE_MEMORY, &(_this->hidden->BufferParms), 0);
386 rc = mciSendCommand(_this->hidden->iCurrDeviceOrd, MCI_CLOSE, MCI_WAIT, &(GenericParms), 0);