www.pudn.com > tapi3.zip > WAVEXG.H
// 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);