USBD_ParseConfigurationDescriptor - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbdlib.h

PUSB_INTERFACE_DESCRIPTOR USBD_ParseConfigurationDescriptor(
  [in] PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
  [in] UCHAR                         InterfaceNumber,
  [in] UCHAR                         AlternateSetting
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-usbdlib-usbd_parseconfigurationdescriptor)

USBD_ParseConfigurationDescriptor function

Description

The USBD_ParseConfigurationDescriptor routine has been deprecated. Use USBD_ParseConfigurationDescriptorEx instead.

Parameters

ConfigurationDescriptor [in]

Pointer to a USB configuration descriptor that contains the interface for which to search.

InterfaceNumber [in]

Specifies the device-defined index of the interface to be retrieved. This should be set to -1 if it should not be a search criterion.

AlternateSetting [in]

Specifies the device-defined alternate-setting index of the interface to be retrieved. If the caller does not wish the alternate setting value to be a search criterion, this parameter should be set to -1.

Return value

USBD_ParseConfigurationDescriptor returns a pointer to the first interface descriptor that matches the given search criteria. If no interface matches the search criteria, it returns NULL.

See also

USB device driver programming reference

USBD_ParseConfigurationDescriptorEx