WAVEXG.H
资源名称:tapi3.zip [点击查看]
上传用户:chinamans
上传日期:2013-03-17
资源大小:202k
文件大小:1k
源码类别:
TAPI编程
开发平台:
Visual C++
- // A Header file for wave functions for dialer/talker
- // (c) Dialogic corp 1995, 1996
- // This will vanish when integrated TAPI/WAVE driver is implemented; hence quik&dirty way
- #define MAXWAVEDEVS 32 // arbitrarily limit the number of WAVE devs
- // States
- #define IDLE 0
- #define PLAYING_MESSAGE 1
- #define PLAYING_BEEP 2
- #define RECORDING_MESSAGE 3
- HWAVEOUT WavexPlay(HWND, UINT, LPSTR); // play the WAVE file
- HWAVEIN WavexRecord(HWND, UINT); // record the Wave file
- void WavexFinishPlay(WPARAM, LPARAM); // handle the driver notification
- void WavexFinishRecord(WPARAM, LPARAM, LPSTR); // handle the driver notification
- void WavexClose(); // Destructor
- int WavexGetState(); // Extract state
- void WavexSetState(int); // Set state
- void WavexSaveData(LPWAVEHDR, LPSTR);