tspcall.h
资源名称:WaveTsp.rar [点击查看]
上传用户:hcyyun520
上传日期:2019-05-14
资源大小:365k
文件大小:1k
源码类别:
TAPI编程
开发平台:
Visual C++
- // tspCall.h
- #ifndef TSPCALL_H
- #define TSPCALL_H
- #include "wavetsp.h"
- #include "tspline.h"
- class CtspCall
- {
- public:
- CtspCall(CtspLine* pLine, HTAPICALL htCall);
- ~CtspCall();
- CtspLine* GetLine();
- bool Dial();
- void Drop();
- DWORD GetCallState();
- void SetCallState(DWORD dwCallState, DWORD dwCallStateDetail = 0);
- LONG StartDial(HINSTANCE hinst, HPROVIDER hProvider, DWORD dwRequestID,
- const wchar_t* pwszAddress, const LINEDIALPARAMS& dp);
- private:
- CtspLine* m_pLine;
- DWORD m_dwCallState;
- DWORD m_dwCallStateDetail;
- HTAPICALL m_htCall;
- };
- #endif // TSPCALL_H