資源簡介
可對Windows下磁盤分區進行隱藏 隱藏各個指定的分區 vc源碼

代碼片段和文件信息
//?hidedisk.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“hidedisk.h“
#include?“hidediskDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CHidediskApp
BEGIN_MESSAGE_MAP(CHidediskApp?CWinApp)
//{{AFX_MSG_MAP(CHidediskApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CHidediskApp?construction
CHidediskApp::CHidediskApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHidediskApp?object
CHidediskApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CHidediskApp?initialization
BOOL?CHidediskApp::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
CHidediskDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄??????????0??2004-11-17?08:33??hidedisk
?????文件???????1261??2005-01-14?15:18??hidedisk\hidedisk.clw
?????文件???????3615??2004-11-17?08:33??hidedisk\ReadMe.txt
?????文件???????1346??2004-11-17?08:33??hidedisk\hidedisk.h
?????文件???????1054??2004-11-17?08:33??hidedisk\StdAfx.h
?????文件????????210??2004-11-17?08:33??hidedisk\StdAfx.cpp
?????目錄??????????0??2004-11-17?08:33??hidedisk\res
?????文件????????400??2004-11-17?08:33??hidedisk\res\hidedisk.rc2
?????文件???????1078??2004-11-17?08:33??hidedisk\res\hidedisk.ico
?????文件????????539??2004-11-17?08:33??hidedisk\hidedisk.dsw
?????文件??????66560??2005-01-14?15:19??hidedisk\hidedisk.ncb
?????目錄??????????0??2004-11-17?08:33??hidedisk\Debug
?????文件????????778??2004-11-17?08:45??hidedisk\Resource.h
?????文件????????252??2005-01-14?15:18??hidedisk\hidedisk.plg
?????目錄??????????0??2004-11-17?09:17??hidedisk\Release
?????文件???????5643??2004-11-17?10:07??hidedisk\hidedisk.rc
?????文件??????20856??2004-11-22?13:09??hidedisk\hidedisk.aps
?????文件???????2091??2004-11-22?13:29??hidedisk\hidedisk.cpp
?????文件???????1407??2004-11-22?13:52??hidedisk\hidediskDlg.h
?????文件???????9136??2004-11-22?14:08??hidedisk\hidediskDlg.cpp
?????文件???????4228??2004-11-22?14:26??hidedisk\hidedisk.dsp
?????文件??????54784??2005-01-14?15:19??hidedisk\Hidedisk.opt
-----------?---------??----------?-----??----
???????????????175238????????????????????22
評論
共有 條評論