我使用CreateFile打开USB hub<br><br>HostControllerName := '//./HCD' + IntToStr(ControllerIndex);//ControllerIndex从0开始增加<br>HostControllerHandle := CreateFile(PChar(HostControllerName),<br> GENERIC_WRITE, //$40000000<br> FILE_SHARE_WRITE, //$00000002;<br> nil,<br> OPEN_EXISTING, //3<br> 0,<br> 0);<br><br>在windowsXP下可以获得5个Hub,但到了Windows2000下就变成了4个。<br>应该说CreateFile是个通用得函数吧,怎么到Windows2000就不正常了呢?