USBD_CreateConfigurationRequest - NtDoc

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

PURB USBD_CreateConfigurationRequest(
  [in]      PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor,
  [in, out] PUSHORT                       Siz
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

USBD_CreateConfigurationRequest function

Description

The USBD_CreateConfigurationRequest routine has been deprecated. Use USBD_CreateConfigurationRequestEx instead.

Parameters

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.

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.

See also

USB device driver programming reference

USBD_CreateConfigurationRequestEx