andy
驱动牛犊
驱动牛犊
  • 注册日期2001-05-11
  • 最后登录2003-07-26
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1817回复:2

About : 配置描述表 !

楼主#
更多 发布于:2001-05-21 11:12
一般再得到配置描述表时,总是调用两次USB_CONFIGURATION_DESCRIPTOR_TYPE 的 URB , 难道仅仅是因为
想得到具体的 Size 吗(第一次)?
andy
驱动牛犊
驱动牛犊
  • 注册日期2001-05-11
  • 最后登录2003-07-26
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-05-22 15:31
Received !
Thanks a lot !
sttypxx
驱动牛犊
驱动牛犊
  • 注册日期2001-05-17
  • 最后登录2011-04-06
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2001-05-22 09:48
应该是这样,2000ddk的说明很清楚!
The UsbBuildGetDescriptorRequest routine builds the necessary request. The bus driver returns the configuration descriptor in a USB_CONFIGURATION_DESCRIPTOR structure. This structure specifies the total length of configuration information in its wTotalLength member.

A device may support multiple configurations, numbered starting at zero. It reports the number of configurations it supports in its device descriptor. See USB Device Descriptors for details.

尺寸并不固定!
游客

返回顶部