⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tapisampledlg.h.svn-base

📁 一个使用TAPI函数写的电话应用的Demo
💻 SVN-BASE
字号:
// TAPISampleDlg.h : header file
//

#if !defined(AFX_TAPISAMPLEDLG_H__B7A9B92E_AC18_4505_A838_595981A80BFC__INCLUDED_)
#define AFX_TAPISAMPLEDLG_H__B7A9B92E_AC18_4505_A838_595981A80BFC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "TapiLine.h"

/////////////////////////////////////////////////////////////////////////////
// CTAPISampleDlg dialog

class CTAPISampleDlg : public CDialog
{
// Construction
public:
	CTapiLine cCall;

	CTAPISampleDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTAPISampleDlg)
	enum { IDD = IDD_TAPISAMPLE_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTAPISampleDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	HANDLE m_hWaitForCallThread;
	static DWORD WINAPI WaitForCallThread(LPVOID);

	bool m_bStopReadThread;
	HANDLE m_hReadThread;
	static DWORD WINAPI ReadThread(LPVOID lpVoid);


	HANDLE m_hSerialHandle;

	// Generated message map functions
	//{{AFX_MSG(CTAPISampleDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBtnWait();
	afx_msg void OnBtnOpen();
	afx_msg void OnBtnDial();
	afx_msg void OnBtnComHandle();
	afx_msg void OnBtnRead();
	afx_msg void OnBtnWrite();
	afx_msg void OnBtnReadClear();
	afx_msg void OnBtnWriteClear();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TAPISAMPLEDLG_H__B7A9B92E_AC18_4505_A838_595981A80BFC__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -