TAPISampleDlg.h.svn-base
上传用户:c1686688
上传日期:2015-06-15
资源大小:73k
文件大小:2k
- // 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_)