#pragma once #include bool LoadWaveFile(PCTSTR filename,WAVEFORMATEX *pwfe,WAVEHDR *pwhdr); void CloseWaveFile(HWAVEOUT hwo,WAVEHDR *pwhdr); void ErrMsg(PCTSTR text,PCTSTR caption); MMRESULT MMErrMsg(MMRESULT result,PCTSTR caption); #define DEBUG_MM(result,caption) { if(MMErrMsg(result,caption)!=MMSYSERR_NOERROR) return; } enum{ STOP,PLAY,PAUSE }; // t