資源簡(jiǎn)介
4章讀取網(wǎng)卡物理地址.rar

代碼片段和文件信息
//?EthernetAdapter.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“EthernetAdapter.h“
#include?“EthernetAdapterDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CEthernetAdapterApp
BEGIN_MESSAGE_MAP(CEthernetAdapterApp?CWinApp)
//{{AFX_MSG_MAP(CEthernetAdapterApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CEthernetAdapterApp?construction
CEthernetAdapterApp::CEthernetAdapterApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CEthernetAdapterApp?object
CEthernetAdapterApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CEthernetAdapterApp?initialization
BOOL?CEthernetAdapterApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CEthernetAdapterDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件???????1061??2004-04-01?23:25??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapter.clw
?????文件???????2189??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapter.cpp
?????文件???????4321??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapter.dsp
?????文件????????553??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapter.dsw
?????文件?????110722??2004-04-01?23:10??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapter.exe
?????文件???????1423??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapter.h
?????文件???????4878??2004-04-01?23:10??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapter.rc
?????文件???????5005??2003-04-02?12:35??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapterDlg.cpp
?????文件???????1649??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\EthernetAdapterDlg.h
?????文件???????3741??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\ReadMe.txt
?????文件???????3262??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\RES\EthernetAdapter.ico
?????文件????????407??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\RES\EthernetAdapter.rc2
?????文件????????601??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\Resource.h
?????文件????????217??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\StdAfx.cpp
?????文件???????1111??2003-04-02?10:43??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\StdAfx.h
?????目錄??????????0??2009-12-04?18:52??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter\RES
?????目錄??????????0??2009-12-04?18:52??第4章??讀取網(wǎng)卡物理地址\EthernetAdapter
?????目錄??????????0??2009-12-04?18:52??第4章??讀取網(wǎng)卡物理地址
-----------?---------??----------?-----??----
???????????????141140????????????????????18
- 上一篇:esp8266連接阿里云
- 下一篇:Linux系統(tǒng)tftp安裝包
評(píng)論
共有 條評(píng)論