usb bulk 傳輸例程。
* The bulkusb driver is a generic function driver, based on the Windows Driver Model (WDM).
* Supports Plug and Play(PnP), Power MANAGEMENT(PM), Windows MANAGEMENT Instrumentation (WMI) and the Selective Suspend (SS) features.
* This sample is based off the selSusp DDK sample. Please refer the selSusp sample and the DDK docs to understand the handling of PnP, PM, WMI and SS features and implementations.
*
The USB device used for this sample is a generic Intel I82930 USB evaluation board programmed with a simple loopback test using a 64 KB circular buffer. None of the code in the sample is specific to this controller chip.
The DiskPerf filter driver monitors disk-accesses, capturing performance data. It supports Plug and Play, Power MANAGEMENT, and WMI . It is not 64-bit compliant
Addfilter is a command-line application which adds and removes filter drivers for a given drive or volume. It is intended to demonstrate how to insert a filter driver into the driver stack of a device. The sample illustrates how to do this by using the SetupDi APIs. The sample works on the x86 platform. It has only been tested in a 32-bit environment. Since Addfilter is not a driver, it does not deal with Plug and Play or Power MANAGEMENT.
The CD Audio sample allows some non-SCSI2 CD ROMs to support audio operations by intercepting the relevant audio ioctls and translating them into the command block(s) expected by the non-compliant cdroms. It supports Plug and Play and Power MANAGEMENT, and is 64-bit compliant.
The CD ROM driver is used with Classpnp.sys to provide access to CD ROMs and DVD ROMs. It supports Plug and Play, Power MANAGEMENT, and AutoRun (media change notification). It is 64-bit compliant.
This is the library for all storage drivers. It simplifies writing a storage driver by implementing 90 percent of the code required to support Plug and Play, Power MANAGEMENT, et cetera. This library is used by disk.sys, cdrom.sys and the tape class drivers.
The Disk sample is used with Classpnp.sys as disk driver. The sample supports Plug and Play, Power MANAGEMENT, WMI, and failure prediction (S.M.A.R.T.), and it is 64-bit compliant.
使用說明
1.在使用源程序前,請先創(chuàng)建數(shù)據(jù)庫。這里有兩種方法可以創(chuàng)建數(shù)據(jù)庫。
方法一:采用還原數(shù)據(jù)庫的方法。具體方法是在 Microsoft SQL Server MANAGEMENT Studio中創(chuàng)建名稱為HySys的數(shù)據(jù)庫。然后在“對象資源管理器”窗口中右擊該數(shù)據(jù)庫,在彈出的菜單中選擇“任務(wù)”|“還原”|“數(shù)據(jù)庫”。在彈出的窗口中,在“還原的源”欄下面設(shè)定“源設(shè)備”為SQL文件夾中的HrSys.bak,同時設(shè)定還原選項“覆蓋現(xiàn)有數(shù)據(jù)庫”。用戶名:Admin,密碼:Admin
方法二:執(zhí)行SQL腳本。具體方法是在 Microsoft SQL Server MANAGEMENT Studio中創(chuàng)建名稱為HySys的數(shù)據(jù)庫。然后在“對象資源管理器”窗口中右擊該數(shù)據(jù)庫,在彈出的菜單中選擇“新建查詢命令”,在窗口的右邊將出現(xiàn)空白的文本區(qū)域。將SQL文件夾中HySys.sql文件中的文本復(fù)制到該文本區(qū)域,然后單擊工具欄中的“執(zhí)行按鈕”,即可建立數(shù)據(jù)庫中的表。在數(shù)據(jù)庫表創(chuàng)建完成后需要輸入一些初始數(shù)據(jù),以供調(diào)試程序時使用。
2.在Visual Studio 2005開發(fā)環(huán)境中打開Code文件夾中的工程項目文件,即可使用實例的源代碼。
這個是用VC++實現(xiàn)的winsnmp的網(wǎng)絡(luò)管理兼監(jiān)控的程序,經(jīng)調(diào)試可正常運行通過,希望對大家有所幫助 -this the VC winsnmp network MANAGEMENT and monitoring procedures, The tests can be run through the normal, we hope to help