BOOL CMyVolumeCtrl::SetVolume(int nVol) { BOOL bSet = FALSE; DWORD dwNowMaxVol = GetMaxVol(); switch (m_eWinType) { case WindowsXP: { long nXPSetVol = nVol; bSet = vSetVolume(0, nXPSetVol); } break; case WindowsVista: case Windows7: { int nWin7SetVol = nVol ; bSet = vVolumeSet(nWin7SetVol); } break; default: bSet = FALSE; } return bSet; }
void PoolBase::setVolume( const Eref& e, double v ) { vSetVolume( e, v ); }
void DifShellBase::setVolume(const Eref& e, double volume ) { vSetVolume(e,volume); }
void DifBufferBase::setVolume(const Eref& e, double volume ) { vSetVolume(e,volume); }