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

📄 index.cpp

📁 浏览所有的PCI设备
💻 CPP
字号:
// Index.cpp : implementation file
//

#include "stdafx.h"
#include "PCI Explorer.h"
#include "pci.h"
#include "pciScanIoctl.h"

#include "NumericEdit.h"
#include "IDCombo.h"
#include "DataDisplay.h"
#include "pcidata.h"

#include "Index.h"

#include "codes.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CIndex property page

IMPLEMENT_DYNCREATE(CIndex, CPropertyPage)

CIndex::CIndex() : CPropertyPage(CIndex::IDD)
    {
     //{{AFX_DATA_INIT(CIndex)
     // NOTE: the ClassWizard will add member initialization here
     //}}AFX_DATA_INIT
     CString s;
     s.LoadString(IDS_INDEX);

     TCHAR * title = new TCHAR[s.GetLength() + 1];
     lstrcpy(title, s);

     m_psp.pszTitle = title;
     m_psp.dwFlags |= PSP_USETITLE;
}

CIndex::~CIndex()
{
}

void CIndex::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CIndex)
	DDX_Control(pDX, IDC_GOTO, c_Goto);
	DDX_Control(pDX, IDC_INDEX, c_Index);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CIndex, CPropertyPage)
	//{{AFX_MSG_MAP(CIndex)
	ON_BN_CLICKED(IDC_GOTO, OnGoto)
	ON_NOTIFY(TVN_SELCHANGED, IDC_INDEX, OnSelchangedIndex)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CIndex message handlers

/****************************************************************************
*                              CIndex::addVendor
* Inputs:
*       CString & shortVendor
*	CString & longVendor
*	WORD VendorID
* Result: HTREEITEM
*       The vendor item
* Effect: 
*       

⌨️ 快捷键说明

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