Expand Minimize

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

Version

Deprecated. Use USBD_CreateConfigurationRequestEx instead.

Header

Usbdlib.h

Library

Usbd.lib

See also

USBD_CreateConfigurationRequestEx
Routines for USB Client Drivers

 

 

Send comments about this topic to Microsoft

Build date: 12/5/2013

Show:
© 2014 Microsoft. All rights reserved.