Searched refs:nUseCount (Results 1 – 5 of 5) sorted by relevance
63 int nUseCount; /* Incremented for each shared open */ member150 if (wmm == NULL || ((wmm->nUseCount == 0) ^ (wMsg == MCI_OPEN_DRIVER))) { in MIDI_mciGetOpenDev()668 if (wmm->nUseCount > 0) { in MIDI_mciOpen()674 wmm->nUseCount++; in MIDI_mciOpen()691 wmm->nUseCount--; in MIDI_mciOpen()741 wmm->nUseCount--; in MIDI_mciOpen()804 wmm->nUseCount--; in MIDI_mciClose()805 if (wmm->nUseCount == 0) { in MIDI_mciClose()820 TRACE("Shouldn't happen... nUseCount=%d\n", wmm->nUseCount); in MIDI_mciClose()
161 if (wma == NULL || wma->nUseCount == 0) { in MCIAVI_mciGetOpenDev()227 if (wma->nUseCount > 0) { in MCIAVI_mciOpen()232 ++wma->nUseCount; in MCIAVI_mciOpen()239 wma->nUseCount = 1; in MCIAVI_mciOpen()319 if (wma->nUseCount == 1) { in MCIAVI_mciClose()330 wma->nUseCount--; in MCIAVI_mciClose()
42 int nUseCount; /* Incremented for each shared open */ member
59 int nUseCount; /* Incremented for each shared open */ member234 if (wmcda == NULL || wmcda->nUseCount == 0) { in MCICDA_GetOpenDrv()455 if (wmcda->nUseCount > 0) { in MCICDA_Open()460 ++wmcda->nUseCount; in MCICDA_Open()464 wmcda->nUseCount = 1; in MCICDA_Open()527 --wmcda->nUseCount; in MCICDA_Open()544 if (--wmcda->nUseCount == 0) { in MCICDA_Close()
41 int nUseCount; /* Incremented for each shared open */ member199 if (wmw == NULL || wmw->nUseCount == 0) { in WAVE_mciGetOpenDev()526 if (wmw->nUseCount > 0) { in WAVE_mciOpen()533 wmw->nUseCount++; in WAVE_mciOpen()568 wmw->nUseCount--; in WAVE_mciOpen()674 wmw->nUseCount--; in WAVE_mciClose()676 if (wmw->nUseCount == 0) { in WAVE_mciClose()