GET_ISO_URB_SIZE macro (usbdlib.h)
The GET_ISO_URB_SIZE macro returns the number of bytes required to hold an isochronous transfer request.
Syntax
#define GET_ISO_URB_SIZE(n) (sizeof(struct _URB_ISOCH_TRANSFER)+\
sizeof(USBD_ISO_PACKET_DESCRIPTOR)*n)
Parameters
n
Specifies the number of isochronous transfer packets that will be part of the transfer request.
Return value
None
Remarks
Gets the number of bytes required to hold an isochronous request with the given number of packets (n).
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | usbdlib.h (include Usbdlib.h) |