DisplayUSB |
|
stnovel
一般會員 發表:4 回覆:4 積分:1 註冊:2007-01-10 發送簡訊給我 |
一般來說要 Compile USB 的程式都要用到 NTDDK
我將會用到的 .h 加到目錄下,再修改呼叫方式 (因為 BCB 的叫用跟 VC 有些出入) 就可不需安裝 NTDDK 就可 Compile 了. |
taishyang
站務副站長 發表:377 回覆:5490 積分:4563 註冊:2002-10-08 發送簡訊給我 |
|
stnovel
一般會員 發表:4 回覆:4 積分:1 註冊:2007-01-10 發送簡訊給我 |
|
pcboy
版主 發表:177 回覆:1838 積分:1463 註冊:2004-01-13 發送簡訊給我 |
有 Source Code 可以參考, 感謝~
下面是使用您提供的程式執行後儲存的結果 ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27C8 RootHub :USB Root Hub Hub Power :Bus Power Number of Ports :2 Power switching :Ganged Compound device :No Over-current Protection :Global ====================================================== Port:[1.1.1]No device connected ====================================================== Port:[1.1.2]No device connected ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27C9 RootHub :USB Root Hub Hub Power :Bus Power Number of Ports :2 Power switching :Ganged Compound device :No Over-current Protection :Global ====================================================== Port:[2.1.1]No device connected ====================================================== Port:[2.1.2]No device connected ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27CA RootHub :USB Root Hub Hub Power :Bus Power Number of Ports :2 Power switching :Ganged Compound device :No Over-current Protection :Global ====================================================== Port:[3.1.1]No device connected ====================================================== Port:[3.1.2]No device connected ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27CB RootHub :USB Root Hub Hub Power :Bus Power Number of Ports :2 Power switching :Ganged Compound device :No Over-current Protection :Global ====================================================== Port:[4.1.1]No device connected ====================================================== Port:[4.1.2]No device connected ****************************************************** Intel(R) 82801GB USB2 Enhanced Host Controller - 27CC RootHub :USB Root Hub Hub Power :Bus Power Number of Ports :8 Power switching :Ganged Compound device :No Over-current Protection :Global ====================================================== Port:[5.1.1]No device connected ====================================================== Port:[5.1.2]No device connected ====================================================== Port:[5.1.3]No device connected ====================================================== Port:[5.1.4]No device connected ====================================================== Port:[5.1.5]No device connected ====================================================== Port:[5.1.6]No device connected ====================================================== Port:[5.1.7]No device connected ====================================================== Port:[5.1.8]No device connected 下面是使用 BCB 6.0 Enterprise 編譯產生程式後, 執行後儲存的結果 希望對您除錯有幫助 ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27C8 ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27C9 ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27CA ****************************************************** Intel(R) 82801GB USB Universal Host Controller - 27CB ****************************************************** Intel(R) 82801GB USB2 Enhanced Host Controller - 27CC
------
能力不足,求助於人;有能力時,幫幫別人;如果您滿意答覆,請適時結案! 子曰:問有三種,不懂則問,雖懂有疑則問,雖懂而想知更多則問! |
boss.tw
高階會員 發表:15 回覆:109 積分:194 註冊:2005-05-17 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |