USBD_CreateConfigurationRequest function (usbdlib.h)
The USBD_CreateConfigurationRequest routine has been deprecated. Use USBD_CreateConfigurationRequestEx instead.
Syntax
PURB USBD_CreateConfigurationRequest(
[in] PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
[in, out] PUSHORT Siz
);
Parameters
[in] ConfigurationDescriptor
Pointer to a caller-allocated USB_CONFIGURATION_DESCRIPTOR structure that contains the configuration descriptor for the configuration to be selected.
[in, out] Siz
Size of the URB structure.
Return value
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Deprecated. Use USBD_CreateConfigurationRequestEx instead. |
Target Platform | Universal |
Header | usbdlib.h |
Library | Usbd.lib |