Home |
Function RTUAltInterfaces Function RTUEndpointPacketSize |
Function RTUAltInterfacesRTUAltInterfaces returns the number of interface descriptors (as opposed to the number of interfaces) contained in a configuration: int RTUAltInterfaces(const RTUConfigurationDescriptor * Config); ParametersConfigPointer to a configuration descriptor to query. return valueNumber of interface descriptors available in *Config. Because interfaces can have alternate settings, several interface descriptors can exist for each interface. This function determines the total number of interface descriptors. The number of interfaces is contained in member bNumInterfaces of the configuration descriptor. The actual interface descriptors can be retrieved using function RTUGetInterface. Further details about the interfaces and alternate settings are given in the USB specification.
|