Expand Minimize

GET_SELECT_CONFIGURATION_REQUEST_SIZE macro

The GET_SELECT_CONFIGURATION_REQUEST_SIZE macro returns the number of bytes required to create a select-configuration URB.

Syntax


ULONG GET_SELECT_CONFIGURATION_REQUEST_SIZE(
  [in]  ULONG   TotalInterfaces,
  [in]  ULONG   TotalPipes
);

Parameters

TotalInterfaces [in]

Specifies how many interfaces the configuration has.

TotalPipes [in]

Specifies how many endpoints (pipes) the configuration has.

Return value

GET_SELECT_CONFIGURATION_REQUEST_SIZE returns the number of bytes required to hold a select-configuration request with the given number of pipes and interfaces.

Requirements

Header

Usbdlib.h (include Usbdlib.h)

See also

URB
UsbBuildSelectConfigurationRequest
USBD_CreateConfigurationRequest
Routines for USB Client Drivers

 

 

Send comments about this topic to Microsoft

Build date: 12/5/2013

Show:
© 2014 Microsoft. All rights reserved.