USBD_CreateConfigurationRequest routine

The USBD_CreateConfigurationRequest routine has been deprecated. Use USBD_CreateConfigurationRequestEx instead.

Syntax


PURB USBD_CreateConfigurationRequest(
  _In_    PUSB_CONFIGURATION_DESCRIPTOR   ConfigurationDescriptor,
  _Inout_ PUSHORT                         Siz
    
);

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.

Requirements

Target platform

Universal

Version

Deprecated. Use USBD_CreateConfigurationRequestEx instead.

Header

Usbdlib.h

Library

Usbd.lib

See also

USBD_CreateConfigurationRequestEx
USB device driver programming reference

 

 

Send comments about this topic to Microsoft

Show: