dialog001.h

来自「一个在三星2440平台上运行的WINCE600应用程序,用来测试RIL的通话功能」· C头文件 代码 · 共 61 行

H
61
字号
#pragma once

#define DIALMAXCNT 32

// CDialog001 dialog

class CDialog001 : public CDialog
{
	DECLARE_DYNAMIC(CDialog001)

public:
	CDialog001(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDialog001();

// Dialog Data
	enum { IDD = IDD_DIALOG1 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CString m_Str_DisplayDialNum;
	afx_msg void OnBnClickedButton4();
	afx_msg void OnBnClickedButton5();
	afx_msg void OnBnClickedButton6();
	afx_msg void OnBnClickedButton7();
	afx_msg void OnBnClickedButton8();
	afx_msg void OnBnClickedButton9();
	afx_msg void OnBnClickedButton10();
	afx_msg void OnBnClickedButton11();
	afx_msg void OnBnClickedButton12();
	afx_msg void OnBnClickedButton13();
	afx_msg void OnBnClickedButton14();
	afx_msg void OnBnClickedButton15();
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedButton16();
	afx_msg void OnBnClickedButton17();
	afx_msg void OnBnClickedButton18();

protected:
	HRIL g_hRil;
	void ResultProc(DWORD dwResultCode, HRESULT hrCommandID, const void* pData, DWORD dwDataSize);
	void NotifyProc(DWORD dwNotifyCode, const void* pData, DWORD dwDataSize);

public:
	friend void RilResultCallBackFunc(DWORD dwResultCode, HRESULT hrCommandID, const void* pData, DWORD dwDataSize, DWORD dwParam)
	{
		((CDialog001 *) dwParam)->ResultProc(dwResultCode, hrCommandID, pData, dwDataSize);
	}

	friend void RilNotifyCallBackFunc(DWORD dwNotifyCode, const void* pData, DWORD dwDataSize, DWORD dwParam)
	{
		((CDialog001 *) dwParam)->NotifyProc(dwNotifyCode, pData, dwDataSize);
	}


};

⌨️ 快捷键说明

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