// usbdlib.h
PURB USBD_CreateConfigurationRequest(
[in] PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
[in, out] PUSHORT Siz
);
View the official Windows Driver Kit DDI reference
No description available.
The USBD_CreateConfigurationRequest routine has been deprecated. Use USBD_CreateConfigurationRequestEx instead.
ConfigurationDescriptor
[in]Pointer to a caller-allocated USB_CONFIGURATION_DESCRIPTOR structure that contains the configuration descriptor for the configuration to be selected.
Siz
[in, out]Size of the URB structure.
USBD_CreateConfigurationRequest allocates a URB structure, formats it for the URB_FUNCTION_SELECT_CONFIGURATION request (select-configuration request), and returns a pointer to the URB.
USB device driver programming reference
USBD_CreateConfigurationRequestEx