📄 pciconfigdlg.h
字号:
#pragma once
#include "afxwin.h"
#include "afxcmn.h"
#include "hwreadwrite.h"
// CPCIConfigDlg 对话框
class CPCIConfigDlg : public CDialog
{
DECLARE_DYNAMIC(CPCIConfigDlg)
public:
CPCIConfigDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CPCIConfigDlg();
// 对话框数据
enum { IDD = IDD_DIALOG_PCI_ACCESS };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CListCtrl c_listPciConfReg;
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
CComboBox c_cbPciDevList;
CComboBox c_pciComboList;
private:
int ShowPciReg(int pciIndex);
public:
afx_msg void OnCbnSelchangeComboPciList();
afx_msg void OnHdnItemclickListPciConfreg(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnNMClickListPciConfreg(NMHDR *pNMHDR, LRESULT *pResult);
CString m_nOffset;
CString m_nValue;
int ShowPciInfo(int pciIndex);
CString m_strStaticPciInfo;
CStatic cStaticVDInfo;
int m_nCurBusNum;
int m_nCurDevNum;
int m_nCurFunNum;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -