Expand Minimize

UsbBuildSelectConfigurationRequest macro

The UsbBuildSelectConfigurationRequest macro formats an URB with the parameters necessary to select a configuration on a USB device.

Syntax


void UsbBuildSelectConfigurationRequest(
  [in]  PURB Urb,
  [in]  USHORT Length,
  [in]  PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor
);

Parameters

Urb [in]

Pointer to an URB to be formatted as a select configuration request.

Length [in]

Specifies the size, in bytes, of the URB.

ConfigurationDescriptor [in]

Pointer to an initialized USB configuration descriptor that identifies the configuration to be set on the device. If NULL, the device will be set into its unconfigured state.

Return value

This macro does not return a value.

Requirements

Header

Usbdlib.h (include Usbdlib.h)

See also

URB
_URB_SELECT_CONFIGURATION
USB_CONFIGURATION_DESCRIPTOR
Routines for USB Client Drivers

 

 

Send comments about this topic to Microsoft

Build date: 12/5/2013

Show:
© 2014 Microsoft. All rights reserved.