xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 51KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-10
  • 語言: 其他
  • 標簽: USB??插拔??檢測??

資源簡介

Usb設備插拔檢測, 方法:利用檢測USB設備的PID, VID的方法進行設備識別。 1.原型在codeproject, 原來版本是vs2005, 我改成了vs6. 2. 改成vs6后,在設備串比對的地方改了下。 整理時間: 2010/06/06 20:18 用途:做gina程序時,有的Key驅動不支持多進程訪問。我們只在必要的地方使用Key驅動(讀寫Key),在檢測key狀況時,不再用讀Key的方法,來判斷Key設備是否在線。減小了沖突的可能。 當然,如果Key驅動做的好,就不用這種檢測方法。比如HaiTai的Key.

資源截圖

代碼片段和文件信息

//?CheckSystemPlug.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“CheckSystemPlug.h“
#include?“CheckSystemPlugDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CCheckSystemPlugApp

BEGIN_MESSAGE_MAP(CCheckSystemPlugApp?CWinApp)
//{{AFX_MSG_MAP(CCheckSystemPlugApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CCheckSystemPlugApp?construction

CCheckSystemPlugApp::CCheckSystemPlugApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCheckSystemPlugApp?object

CCheckSystemPlugApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CCheckSystemPlugApp?initialization

BOOL?CCheckSystemPlugApp::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

CCheckSystemPlugDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1229??2010-06-06?19:58??CheckSystemPlug\CheckSystemPlug.clw

?????文件???????2189??2010-06-06?13:20??CheckSystemPlug\CheckSystemPlug.cpp

?????文件???????4321??2010-06-06?13:20??CheckSystemPlug\CheckSystemPlug.dsp

?????文件????????555??2010-06-06?13:20??CheckSystemPlug\CheckSystemPlug.dsw

?????文件???????1423??2010-06-06?13:20??CheckSystemPlug\CheckSystemPlug.h

?????文件???????5537??2010-06-06?13:25??CheckSystemPlug\CheckSystemPlug.rc

?????文件??????16721??2010-06-06?19:49??CheckSystemPlug\CheckSystemPlugDlg.cpp

?????文件???????3620??2010-06-06?19:30??CheckSystemPlug\CheckSystemPlugDlg.h

?????文件???????3741??2010-06-06?13:20??CheckSystemPlug\ReadMe.txt

?????文件??????49152??2010-06-06?20:00??CheckSystemPlug\Release\CheckSystemPlug.exe

?????文件???????9898??2010-06-06?20:02??CheckSystemPlug\Release\USB設備插拔檢測抓圖.gif

?????文件??????21630??2001-04-20?15:48??CheckSystemPlug\res\CheckSystemPlug.ico

?????文件????????407??2010-06-06?13:20??CheckSystemPlug\res\CheckSystemPlug.rc2

?????文件????????739??2010-06-06?13:24??CheckSystemPlug\resource.h

?????文件????????217??2010-06-06?13:20??CheckSystemPlug\StdAfx.cpp

?????文件???????1054??2010-06-06?13:20??CheckSystemPlug\StdAfx.h

?????目錄??????????0??2010-06-06?20:02??CheckSystemPlug\Release

?????目錄??????????0??2010-06-06?13:32??CheckSystemPlug\res

?????目錄??????????0??2010-06-06?20:01??CheckSystemPlug

-----------?---------??----------?-----??----

???????????????122433????????????????????19


評論

共有 條評論