📄 emmgdlg_h.txt
字号:
#if !defined(AFX_CATB_H__90121B8F_DA57_420F_B44A_2CE26A513982__INCLUDED_)
#define AFX_CATB_H__90121B8F_DA57_420F_B44A_2CE26A513982__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "winsock.h"
//
/////////////////////////////////////////////////////////////////////////////
class CEMMGDlg : public CDialog
{
public:
bool m_bCreated;
static int m_number;
static int CEMMGDlg::GetNo();
void SendEMMData(void);
void Make_EMM_Provision(char *buf,int &buflen);
// Construction
public:
CEMMGDlg(CWnd* pParent = NULL); // standard constructor
void Make_Channel_Setup(char* buf,int *buflen);
void Make_Stream_Setup(char* buf,int &buflen);
void Make_BW_Request(char *buf,int &buflen);
LONG OnRecv(UINT wParam,LONG lParam);
short ReadFrom(SOCKET s,char *recvbuf, int buflen);
short EMM_WriteTo(SOCKET s, char *sendbuf, int buflen);
char recvMsgProcess(char *msgpkt,int &buflen);
// Dialog Data
//{{AFX_DATA(CEMMGDlg)
enum { IDD = IDD_DIALOG_EMMG };
CEdit m_info;
CListCtrl m_userright;
CString m_strESK;
CString m_icid;
CString m_sk;
CString m_esk;
CString m_pky;
CString m_muxip;
CString m_period;
short m_EMMPort;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEMMGDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CEMMGDlg)
afx_msg void OnButtonInsert();
afx_msg void OnButtonQuery();
afx_msg void OnButtonReset();
virtual BOOL OnInitDialog();
afx_msg void OnButtonUpate();
afx_msg void OnClickLISTuserright(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBUTTONStart();
afx_msg void OnButtonStop();
afx_msg void OnSelchangeComboSk();
afx_msg void OnDumpLogToEMM();
afx_msg void OnClose();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CATB_H__90121B8F_DA57_420F_B44A_2CE26A513982__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -