对技术执着
分类: LINUX
2013-05-29 14:23:14
VOID
UsbBuildSelectInterfaceRequest(
IN PURB Urb,
IN USHORT Length,IN USBD_CONFIGURATION_HANDLE ConfigurationHandle,
IN UCHAR InterfaceNumber,
IN UCHAR AlternateSetting
);
PUSB_INTERFACE_DESCRIPTOR
USBD_ParseConfigurationDescriptorEx(
IN PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
IN PVOID StartPosition,
IN LONG InterfaceNumber,
IN LONG AlternateSetting,
IN LONG InterfaceClass,
IN LONG InterfaceSubClass,
IN LONG InterfaceProtocol
);
这两个函数中都有一个共同的参数:AlternateSetting!
至此,基本可以说明得出的结论是正确的!