Expand Minimize

GET_SELECT_INTERFACE_REQUEST_SIZE macro

The GET_SELECT_INTERFACE_REQUEST_SIZE macro returns the number of bytes required to create a select-interface URB.

Syntax


ULONG GET_SELECT_INTERFACE_REQUEST_SIZE(
  [in]  ULONG   TotalPipes
);

Parameters

TotalPipes [in]

Specifies the total number of endpoints (pipes) the interface has.

Return value

GET_SELECT_INTERFACE_REQUEST_SIZE returns the number of bytes required to hold an URB to select a new setting for an interface with the given number of pipes.

Requirements

Header

Usbdlib.h (include Usbdlib.h)

See also

URB
UsbBuildSelectInterfaceRequest
Routines for USB Client Drivers

 

 

Send comments about this topic to Microsoft

Build date: 12/5/2013

Show:
© 2014 Microsoft. All rights reserved.