DevCon工具基本使用
根據WDK文檔,DevCon工具的基本功能如下;
DevCon is a command-line tool that performs the following device management functions on local and remote computers;
DevCon是一個命令行工具,在本地或遠程計算機上執行設備管理功能;
Display. ?顯示
Search. ?搜索
Change. 更改
? ? Enable a device ?使能設備?
? ? Disable a device ?禁止設備
? ? Update drivers (interactive and noninteractive) ?更新驅動程序
? ? Install a device (create a devnode and install software) 安裝一個設備
? ? Remove a device from the device tree and delete its device stack 從設備樹移除一個設備并刪除它的設備棧
? ? Rescan for Plug and Play devices 掃描即插即用設備
? ? Add, delete, and reorder the hardware IDs of root-enumerated devices 對硬件ID添加、刪除、排序
? ? Change the upper and lower filter drivers for a device setup class 為一個設備安裝類改變上層和下層過濾驅動程序
? ? Add and delete third-party driver packages from the driver store 添加刪除第三方驅動程序包
Restart. 重啟
下面來看幾個簡單例子;
列出計算機上的所有已知 PCI 設備;
列出所有已知的安裝類別;
?
列出本地計算機上存在的所有設備的設備實例;
?
列出命令中所列的每個類別(本例中是 USB 和 1394)的所有存在的設備;
?
列出系統中鼠標類設備的所有硬件 ID;?
?
先初步練一下;只是使用顯示功能;使用其他功能可能引起系統掛掉;有時間再繼續;?
?
總結
以上是生活随笔為你收集整理的DevCon工具基本使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2个词的英语口语
- 下一篇: 调用Win32 API 之CreateC